mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fix NODE_ENV in kibana.bat (#139326)
In https://github.com/elastic/kibana/pull/138503 we removed *.development files from builds. On Windows we're hitting a code path where these end up imported, because NODE_ENV is incorrectly wrapped in quotes. cmd interpets NODE_ENV="production" as '"production"'. We can remove the quotes or set "NODE_ENV=production".
This commit is contained in:
parent
2f7437e4da
commit
fc43274fc6
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ for %%I in ("%SCRIPT_DIR%..") do set DIR=%%~dpfI
|
|||
|
||||
set NODE=%DIR%\node\node.exe
|
||||
|
||||
set NODE_ENV="production"
|
||||
set NODE_ENV=production
|
||||
|
||||
If Not Exist "%NODE%" (
|
||||
Echo unable to find usable node.js executable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue