Skip to content

Commit

Permalink
prompt module: Warn about variables not defined in CI build configura…
Browse files Browse the repository at this point in the history
…tion script
  • Loading branch information
pal1000 committed Nov 1, 2024
1 parent 2856b1c commit 7e1365f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/modules/prompt.cmd
Original file line number Diff line number Diff line change
@@ -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.
@if %cimode% EQU 1 IF "!%1!"=="" echo WARNING: Variable '%1' is undefined in CI build configuration script.
@echo.

0 comments on commit 7e1365f

Please sign in to comment.