Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Shakhar Arad committed Dec 13, 2020
1 parent be0da8b commit d425a96
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion gradle/lib/dependabot/gradle/file_fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def supported_file(supported_file_names)
file = fetch_file_if_present(supported_file_name)
return file if file
end

nil
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,7 @@
let(:property_name) { "findPropertyVersion" }
its([:value]) { is_expected.to eq("27.1.1") }
its([:declaration_string]) do
# rubocop:disable Layout/LineLength
is_expected.to eq('set("findPropertyVersion", project.findProperty("findPropertyVersion") ?: "27.1.1")')
# rubocop:enable Layout/LineLength
end
end

Expand Down
4 changes: 0 additions & 4 deletions gradle/spec/dependabot/gradle/file_updater_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@

its(:content) do
is_expected.to include(
# rubocop:disable Layout/LineLength
'implementation(group = "co.aikar", name = "acf-paper", version = "0.6.0-SNAPSHOT", changing: true)'
# rubocop:enable Layout/LineLength
)
end
its(:content) { is_expected.to include 'version = "4.2.0"' }
Expand Down Expand Up @@ -124,9 +122,7 @@

its(:content) do
is_expected.to include(
# rubocop:disable Layout/LineLength
'id("org.springframework.boot") version "2.1.4.RELEASE" apply false'
# rubocop:enable Layout/LineLength
)
end

Expand Down

0 comments on commit d425a96

Please sign in to comment.