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 Jul 22, 2023
1 parent 8919de6 commit 4229194
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 @@ -315,12 +315,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 4229194

Please sign in to comment.