Skip to content

Commit

Permalink
Use dry run for pip instead of actually installing packages for speed…
Browse files Browse the repository at this point in the history
… up and increased compatibility

(cherry picked from commit b5b3761)
  • Loading branch information
sweoggy committed Nov 22, 2023
1 parent 99a752a commit 671a7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/resolution/pm/pip/cmd_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (cmdf CmdFactory) MakeInstallCmd(command string, file string) (*exec.Cmd, e

return &exec.Cmd{
Path: path,
Args: []string{command, "install", "-r", file},
Args: []string{command, "install", "--dry-run", "-r", file},
}, err
}

Expand Down

0 comments on commit 671a7dc

Please sign in to comment.