mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Print warning if deprecated --include-python flag is given
This commit is contained in:
parent
6beb962282
commit
037a83e1ff
5 changed files with 109 additions and 2 deletions
|
|
@ -3,7 +3,9 @@
|
|||
# Usage with "iex (iwr {url} -UseBasicParsing)" --> See README.md
|
||||
|
||||
param(
|
||||
[switch]$ci
|
||||
[switch]$ci,
|
||||
# Backwards compatibility: deprecated; warn and ignore if supplied
|
||||
[switch]$includepython
|
||||
)
|
||||
|
||||
$Version = $env:SAFE_CHAIN_VERSION # Will be fetched from latest release if not set
|
||||
|
|
@ -119,6 +121,9 @@ function Install-SafeChain {
|
|||
if ($ci) {
|
||||
$installMsg += " in ci"
|
||||
}
|
||||
if ($includepython) {
|
||||
Write-Warn "-includepython is deprecated and ignored. Python ecosystem is now included by default."
|
||||
}
|
||||
|
||||
Write-Info $installMsg
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue