Skip to content

Commit

Permalink
Add missing fixed fingerprints
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Oct 10, 2023
1 parent 81ae5ae commit e73094e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,16 @@ def generate_updated_requirements_files
File.write("dev-req.txt", dev_req_content)
end

def run_command(command, env: {})
SharedHelpers.run_shell_command(command, env)
def run_command(command, env: {}, fingerprint: nil)
SharedHelpers.run_shell_command(command, env: env, fingerprint: fingerprint)
end

def run_pipenv_command(command, env: pipenv_env_variables)
run_command("pyenv local #{language_version_manager.python_major_minor}")
run_command(
"pyenv local #{language_version_manager.python_major_minor}",
fingerprint: "pyenv local <python_major_minor>"
)

run_command(command, env: env)
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,12 +381,16 @@ def add_private_sources(pipfile_content)
.replace_sources(credentials)
end

def run_command(command, env: {})
SharedHelpers.run_shell_command(command, env: env, stderr_to_stdout: true)
def run_command(command, env: {}, fingerprint: nil)
SharedHelpers.run_shell_command(command, env: env, fingerprint: fingerprint, stderr_to_stdout: true)
end

def run_pipenv_command(command, env: pipenv_env_variables)
run_command("pyenv local #{language_version_manager.python_major_minor}")
run_command(
"pyenv local #{language_version_manager.python_major_minor}",
fingerprint: "pyenv local <python_major_minor>"
)

run_command(command, env: env)
end

Expand Down

0 comments on commit e73094e

Please sign in to comment.