Skip to content

Commit

Permalink
fix getting lockfile issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
kbukum1 committed Oct 29, 2024
1 parent 741aa65 commit 6383a57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def detect_package_manager
def name_from_lockfiles
# We prioritize the package manager that has a lockfile
PACKAGE_MANAGER_CLASSES.each_key do |manager_name| # iterates keys in order as defined in the hash
return manager_name.to_s if @lockfiles[manager_name]
return manager_name.to_s if @lockfiles[manager_name.to_sym]
end
nil
end
Expand Down

0 comments on commit 6383a57

Please sign in to comment.