mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Adapt per review
This commit is contained in:
parent
9dacf5cff3
commit
190607de92
27 changed files with 191 additions and 114 deletions
|
|
@ -88,13 +88,9 @@ function npm {
|
|||
}
|
||||
|
||||
function pip {
|
||||
# Default to Python 2 major version when explicitly calling pip
|
||||
$forward = @("--target-version-major", "2") + $args
|
||||
Invoke-WrappedCommand "pip" "aikido-pip" $forward
|
||||
Invoke-WrappedCommand "pip" "aikido-pip" $args
|
||||
}
|
||||
|
||||
function pip3 {
|
||||
# Route to Python 3 when calling pip3
|
||||
$forward = @("--target-version-major", "3") + $args
|
||||
Invoke-WrappedCommand "pip3" "aikido-pip" $forward
|
||||
Invoke-WrappedCommand "pip3" "aikido-pip3" $args
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue