Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
ensure consistent process reference
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jun 19, 2016
1 parent d6164b1 commit b30f83f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion process-node.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var productionEnv = require('@system-env').production;
var process = require('@node/process');
var pEnv = process.env;
pEnv.NODE_ENV = productionEnv ? 'production' : 'development';
module.exports = global.process;
module.exports = process;

0 comments on commit b30f83f

Please sign in to comment.