mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Simplify
This commit is contained in:
parent
037a83e1ff
commit
a47ea153da
2 changed files with 1 additions and 3 deletions
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
param(
|
||||
[switch]$ci,
|
||||
# Backwards compatibility: deprecated; warn and ignore if supplied
|
||||
[switch]$includepython
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -130,8 +130,7 @@ function hasFlagArg(args, flagName) {
|
|||
* @returns {void}
|
||||
*/
|
||||
export function checkDeprecatedPythonFlag(args) {
|
||||
if (!Array.isArray(args)) return;
|
||||
if (args.includes("--include-python")) {
|
||||
if (hasFlagArg(args, "--include-python")) {
|
||||
ui.writeWarning(
|
||||
"--include-python is deprecated and ignored. Python tooling is included by default."
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue