mirror of https://github.com/lukechilds/node.git
Browse Source
This is to ensure that it is evaluated the same way it would be if it were to be run by node or required. Before, the following would pass if run by node, but fail if run via the syntax check flag: if (true) { return; } Now, this will pass the syntax check PR-URL: https://github.com/nodejs/node/pull/3587 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>process-exit-stdio-flushing
Evan Lucas
9 years ago
3 changed files with 6 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||
if (true) { |
|||
return; |
|||
} |
Loading…
Reference in new issue