Skip to content

Commit

Permalink
convert the version into string
Browse files Browse the repository at this point in the history
  • Loading branch information
kbukum1 committed Nov 15, 2024
1 parent 1e7688b commit 2d28e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions npm_and_yarn/lib/dependabot/npm_and_yarn/package_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -262,14 +262,14 @@ def setup(name)
if version
raise_if_unsupported!(name, version)

install(name, version)
install(name, version.to_s)
else
version = guessed_version(name)

if version
raise_if_unsupported!(name, version.to_s)

install(name, version) if name == PNPMPackageManager::NAME
install(name, version.to_s) if name == PNPMPackageManager::NAME
end
end

Expand Down

0 comments on commit 2d28e6a

Please sign in to comment.