Skip to content

Commit

Permalink
Rubocop line length fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amazimbe committed Jan 30, 2025
1 parent be71556 commit af341c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion updater/lib/dependabot/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
require "dependabot/opentelemetry"
require "sorbet-runtime"
require "dependabot/errors"
require "debug"

# Provides a client to access the internal Dependabot Service's API
#
Expand Down
8 changes: 7 additions & 1 deletion updater/spec/dependabot/api_client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,13 @@

context "when API returns a 400 Bad Request" do
let(:body) do
'{"errors":[{"status":400,"title":"Bad Request","detail":"The request contains invalid or unauthorized changes"}]}'
<<~ERROR
{ "errors": [{
"status": 400,
"title": "Bad Request",
"detail": "The request contains invalid or unauthorized changes"}]
}
ERROR
end

before do
Expand Down

0 comments on commit af341c1

Please sign in to comment.