Skip to content

Commit 4d6bccb

Browse files
author
Mike Treit
committed
Fix missing 'set' command that was causing a useless error.
1 parent fd8067b commit 4d6bccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/code.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ set CODE=".build\electron\%NAMESHORT%"
1616
for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"electronVersion\":.*" package.json') do set DESIREDVERSION=%%~a
1717
set DESIREDVERSION=%DESIREDVERSION: "=%
1818
set DESIREDVERSION=v%DESIREDVERSION:"=%
19-
if exist .\.build\electron\version (set /p INSTALLEDVERSION=<.\.build\electron\version) else (INSTALLEDVERSION="")
19+
if exist .\.build\electron\version (set /p INSTALLEDVERSION=<.\.build\electron\version) else (set INSTALLEDVERSION="")
2020

2121
:: Get electron
2222
if not exist %CODE% node .\node_modules\gulp\bin\gulp.js electron

0 commit comments

Comments
 (0)