Commit b9a55a93 authored by Daniel Bevenius's avatar Daniel Bevenius
Browse files

build: call setlocal in vcbuild.bat

Currently the variables set in vcbuild.bat are mostly global and
escape/leak out into the calling process. For example, running
vcbuild.bat test and then echoing the config variable gives:

vcbuild.bat test
...
echo %config%
Release

After this change the same command give:
vcbuild.bat test
...
echo %config%
%config%

PR-URL: https://github.com/nodejs/node/pull/15754


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 212b12c1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment