services-run con posibilidad de pasar variable de entorno NODE_ENV = test
This commit is contained in:
parent
2cc6dfd553
commit
433a0d1af4
|
@ -11,6 +11,10 @@ const exec = require('child_process').exec;
|
|||
// Configuration
|
||||
|
||||
const isWindows = /^win/.test(process.platform);
|
||||
|
||||
if (gutil.env.NODE_ENV)
|
||||
process.env.NODE_ENV = gutil.env.NODE_ENV;
|
||||
|
||||
const env = process.env.NODE_ENV ? process.env.NODE_ENV : 'development';
|
||||
|
||||
const langs = ['es', 'en'];
|
||||
|
|
Loading…
Reference in New Issue