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(
|
param(
|
||||||
[switch]$ci,
|
[switch]$ci,
|
||||||
# Backwards compatibility: deprecated; warn and ignore if supplied
|
|
||||||
[switch]$includepython
|
[switch]$includepython
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -130,8 +130,7 @@ function hasFlagArg(args, flagName) {
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
export function checkDeprecatedPythonFlag(args) {
|
export function checkDeprecatedPythonFlag(args) {
|
||||||
if (!Array.isArray(args)) return;
|
if (hasFlagArg(args, "--include-python")) {
|
||||||
if (args.includes("--include-python")) {
|
|
||||||
ui.writeWarning(
|
ui.writeWarning(
|
||||||
"--include-python is deprecated and ignored. Python tooling is included by default."
|
"--include-python is deprecated and ignored. Python tooling is included by default."
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue