Skip to content

Commit

Permalink
Use Object.assign polyfill.
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed May 1, 2019
1 parent 6b82825 commit 44c5de2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -35,6 +35,7 @@
"devDependencies": {
"airtap": "~1.0.0",
"is-async-supported": "~1.2.0",
"object.assign": "~4.1.0",
"run-series": "~1.1.4",
"tape": "~4.9.0"
},
Expand Down
3 changes: 2 additions & 1 deletion test/node/debug.js
Expand Up @@ -21,6 +21,7 @@

'use strict';
var assert = require('assert');
var ObjectAssign = require('object.assign');

var modeArgv = process.argv[2]
var sectionArgv = process.argv[3]
Expand Down Expand Up @@ -60,7 +61,7 @@ function test(environ, shouldWrite, section) {

var spawn = require('child_process').spawn;
var child = spawn(process.execPath, [__filename, 'child', section], {
env: Object.assign(process.env, { NODE_DEBUG: environ })
env: ObjectAssign(process.env, { NODE_DEBUG: environ })
});

if (shouldWrite) {
Expand Down

0 comments on commit 44c5de2

Please sign in to comment.