Skip to content

Commit

Permalink
Address linting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurickh committed Nov 16, 2024
1 parent c2d603b commit 4f598b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm_and_yarn/lib/dependabot/npm_and_yarn/file_fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def pnpm_lock
# Loop through parent directories looking for a pnpm-lock
(1..directory.split("/").count).each do |i|
@pnpm_lock = fetch_file_from_host(("../" * i) + PNPMPackageManager::LOCKFILE_NAME)
.tap { |f| f.support_file = true }
.tap { |f| f.support_file = true }
break if @pnpm_lock
rescue Dependabot::DependencyFileNotFound
# Ignore errors (pnpm_lock.yaml may not be present)
Expand Down

0 comments on commit 4f598b9

Please sign in to comment.