Skip to content

Commit

Permalink
version can be nil
Browse files Browse the repository at this point in the history
  • Loading branch information
kbukum1 committed Dec 25, 2024
1 parent c104809 commit e405046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions updater/lib/dependabot/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ def version_manager_json(version_manager)

{
name: version_manager.name,
raw_version: version_manager.version.to_semver.to_s,
version: version_manager.version.to_s,
raw_version: version_manager.version&.to_semver.to_s,
version: version_manager.version&.to_s,
requirement: version_manager_requirement_json(version_manager)
}
end
Expand Down

0 comments on commit e405046

Please sign in to comment.