This commit is contained in:
Reinier Criel 2025-12-16 14:53:30 +01:00
parent 037a83e1ff
commit a47ea153da
2 changed files with 1 additions and 3 deletions

View file

@ -4,7 +4,6 @@
param( param(
[switch]$ci, [switch]$ci,
# Backwards compatibility: deprecated; warn and ignore if supplied
[switch]$includepython [switch]$includepython
) )

View file

@ -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."
); );