Fix misuse of update() in run.py (#1245)

This commit is contained in:
Ben Kalman
2016-04-14 09:19:11 -07:00
parent 9aef59c62f
commit d8977ce3a9
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@attic/webpack-config",
"version": "2.0.0",
"version": "2.1.0",
"description": "Shared webpack config for noms",
"main": "index.js",
"dependencies": {

View File

@@ -12,7 +12,8 @@ def main():
env = {
'NODE_ENV': args.mode,
'BABEL_ENV': args.mode,
}.update(os.environ)
}
env.update(os.environ)
subprocess.check_call(
['node_modules/.bin/webpack',
'--config', 'node_modules/@attic/webpack-config/index.js', args.src, args.out],