Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src,win: use correct exit code in old versions
If `IsWindows7OrGreater()` returns `false`, the Node.js program should exit with a more specific code ERROR_EXE_MACHINE_TYPE_MISMATCH instead the code 0x1(ERROR_INVALID_FUNCTION) PR-URL: nodejs#8204 Reviewed-By: João Reis <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
- Loading branch information