Files
Remy Sharp 2967726673 fix: package.main with -- arguments (#1773)
* fix: package.main with -- arguments

Fixes #1758

The combination of using a package.main (which sets the script
position to index zero) and using the -- stop slurp meant that
the arguments had the script appended to the end instead of
prepended to the start. The net result meant that when the script
was forked, it would drop the first user arg.

See diff for details of the fix - a simple check against null.

* fix: protect against missing opts
2020-10-04 16:44:26 +01:00
..
2015-09-15 21:46:36 -07:00
2015-09-15 21:46:36 -07:00
2015-01-19 17:07:17 +00:00
2014-12-05 11:31:42 +00:00
2014-12-09 11:09:29 +00:00
2013-12-29 22:50:02 +00:00
2013-12-05 09:45:53 +00:00
2013-12-03 13:37:40 +00:00