Skip to content

Commit

Permalink
maketest: Make the test boilerplate prefer our config over env
Browse files Browse the repository at this point in the history
Credit: @iarna
  • Loading branch information
iarna authored and zkat committed Oct 24, 2016
1 parent eff46dd commit bc68176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/maketest
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ var tmpdir = path.join(basedir, 'tmp')
var conf = {
cwd: testdir,
env: extend({
env: extend(extend({}, process.env), {
npm_config_cache: cachedir,
npm_config_tmp: tmpdir,
npm_config_prefix: globaldir,
npm_config_registry: common.registry,
npm_config_loglevel: 'warn'
}, process.env)
})
}
var server
Expand Down

0 comments on commit bc68176

Please sign in to comment.