Files
meteor/tools/tests
Jesse Rosenberger 97cb2c14a8 "meteor npm/node" should return exit code from command
Fixes #6673

The Meteor "dev bundle bin commands" which proxy through to the
meteor version of npm/node was not returning the exit code from the
command which it executed.  This creates problems for things like
`meteor npm run script-name` when the exit code is important.  This
comes into play when you run npm scripts which run tests, lint code, etc.

This fix causes the meteor-tool to process.exit with the spawned process
exit code.

Windows Disclaimer: I used the same flush-buffers-on-exit-in-windows
that the tool/cli/main.js uses because I would assume the same problem
exists, however, I don't have the Windows environment to test or confirm
that this code works at all.

Also, couldn't find any tests that directly tested this dev bundle
bin-command passing scenario (though hard to search through them all),
so I created a barebones test app and tests.
2016-04-01 17:09:03 +03:00
..
2016-03-20 12:30:31 +01:00
2016-03-18 20:40:57 +01:00
2016-03-17 21:20:12 +01:00
2016-03-17 16:48:25 +01:00
2016-03-17 16:48:25 +01:00
2016-03-17 16:48:25 +01:00
2015-08-06 16:39:00 -07:00
2016-03-18 20:40:57 +01:00
2015-08-06 16:39:01 -07:00