From 7e1365fd7adf22a4e8f24ed1e6523568248aae88 Mon Sep 17 00:00:00 2001 From: pal1000 Date: Fri, 1 Nov 2024 08:17:31 -0700 Subject: [PATCH] prompt module: Warn about variables not defined in CI build configuration script --- bin/modules/prompt.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/modules/prompt.cmd b/bin/modules/prompt.cmd index f5a944c..19f5d1d 100644 --- a/bin/modules/prompt.cmd +++ b/bin/modules/prompt.cmd @@ -1,6 +1,6 @@ @IF NOT defined cimode set cimode=0 @if %cimode% EQU 0 set /p %1=%~2 -@if %cimode% EQU 0 echo. @setlocal ENABLEDELAYEDEXPANSION @if %cimode% EQU 1 IF NOT "!%1!"=="" echo %~2!%1! -@if %cimode% EQU 1 IF NOT "!%1!"=="" echo. \ No newline at end of file +@if %cimode% EQU 1 IF "!%1!"=="" echo WARNING: Variable '%1' is undefined in CI build configuration script. +@echo.