Skip to content

build,win: goto lint only after defining node_exe

When running vcbuild lint on a new command prompt where vcbuild was not run before, %node_exe% was not defined and eslint.js, lint-js.js and lint-md.js would be run directly using the program defined in Windows (usually the Windows Scripting Host or Notepad).

This moves the goto statement to after %node_exe% is defined.

Fixes: https://github.com/nodejs/node/issues/29602

cc @nodejs/platform-windows

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading