Skip to content

Commit

Permalink
fix(node6): remove spread for node6+ support (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
mushroom2 authored and silasbw committed Dec 11, 2018
1 parent 3e1bec7 commit 2e161aa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/auth-providers/cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ module.exports = {
const cmdEnv = config['cmd-env']

const output = spawnSync(cmd, args, {
env: {
...process.env,
...cmdEnv
},
env: Object.assign({}, process.env, cmdEnv),
windowsHide: true
})

Expand Down

0 comments on commit 2e161aa

Please sign in to comment.