Skip to content

Commit

Permalink
Fix missing 'set' command that was causing a useless error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Treit committed Nov 23, 2016
1 parent fd8067b commit 4d6bccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/code.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set CODE=".build\electron\%NAMESHORT%"
for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"electronVersion\":.*" package.json') do set DESIREDVERSION=%%~a
set DESIREDVERSION=%DESIREDVERSION: "=%
set DESIREDVERSION=v%DESIREDVERSION:"=%
if exist .\.build\electron\version (set /p INSTALLEDVERSION=<.\.build\electron\version) else (INSTALLEDVERSION="")
if exist .\.build\electron\version (set /p INSTALLEDVERSION=<.\.build\electron\version) else (set INSTALLEDVERSION="")

:: Get electron
if not exist %CODE% node .\node_modules\gulp\bin\gulp.js electron
Expand Down

0 comments on commit 4d6bccb

Please sign in to comment.