Skip to content

Commit

Permalink
Experiment: Try disabling git init to see if pip-tools still breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwidman committed Feb 7, 2023
1 parent dec2cf1 commit 25f3eb0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,12 @@ def write_temporary_dependency_files(pipfile_content)
end

def install_required_python
# Initialize a git repo to appease pip-tools
begin
run_command("git init") if setup_files.any?
rescue Dependabot::SharedHelpers::HelperSubprocessFailed
nil
end
# # Initialize a git repo to appease pip-tools
# begin
# run_command("git init") if setup_files.any?
# rescue Dependabot::SharedHelpers::HelperSubprocessFailed
# nil
# end

language_version_manager.install_required_python
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,12 +313,12 @@ def write_temporary_dependency_files(updated_req: nil,
end

def install_required_python
# Initialize a git repo to appease pip-tools
begin
run_command("git init") if setup_files.any?
rescue Dependabot::SharedHelpers::HelperSubprocessFailed
nil
end
# # Initialize a git repo to appease pip-tools
# begin
# run_command("git init") if setup_files.any?
# rescue Dependabot::SharedHelpers::HelperSubprocessFailed
# nil
# end

language_version_manager.install_required_python
end
Expand Down

0 comments on commit 25f3eb0

Please sign in to comment.