Skip to content

Commit

Permalink
Changed return type in pipenv_runner
Browse files Browse the repository at this point in the history
  • Loading branch information
randhircs committed Jan 14, 2025
1 parent d9dfa0f commit f44145f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lib/dependabot/python/pipenv_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def initialize(dependency:, lockfile:, language_version_manager:)
@language_version_manager = language_version_manager
end

sig { params(constraint: String).void }
sig { params(constraint: String).returns(String) }
def run_upgrade(constraint)
constraint = "" if constraint == "*"
command = "pyenv exec pipenv upgrade --verbose #{dependency_name}#{constraint}"
Expand All @@ -26,7 +26,7 @@ def run_upgrade(constraint)
run(command, fingerprint: "pyenv exec pipenv upgrade --verbose <dependency_name><constraint>")
end

sig { params(constraint: String).void }
sig { params(constraint: String).returns(T.untyped) }
def run_upgrade_and_fetch_version(constraint)
run_upgrade(constraint)

Expand Down

0 comments on commit f44145f

Please sign in to comment.