Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/jenkins_api_client/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ def handle_exception(response, to_send = "code", send_json = false)
# the queue.
when 200, 201, 302
if to_send == "body" && send_json
return JSON.parse(response.body)
return JSON.parse(response.body.gsub("\e", ''))
elsif to_send == "body"
return response.body
elsif to_send == "code"
Expand Down