File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11var spawn = require ( 'child_process' ) . spawn ;
22var dotenv = require ( './dot-env' ) ;
3+ var objectAssign = require ( 'object-assign' ) ;
34
45module . exports = function exec ( script ) {
56
@@ -14,7 +15,7 @@ module.exports = function exec(script) {
1415
1516 script . env = script . env || { } ;
1617
17- var env = Object . assign ( process . env , script . env , dotenv ) ;
18+ var env = objectAssign ( process . env , script . env , dotenv ) ;
1819
1920 console . log ( 'to be executed:' , command , options . join ( ' ' ) ) ;
2021 var command = spawn ( command , options , { env : env } ) ;
Original file line number Diff line number Diff line change 2020 "test" : " node index.js test --test"
2121 },
2222 "dependencies" : {
23- "endofline" : " 0.0.3"
23+ "endofline" : " 0.0.3" ,
24+ "object-assign" : " ^4.0.1"
2425 },
2526 "betterScripts" : {
2627 "test" : {
You can’t perform that action at this time.
0 commit comments