Skip to content

Commit fdb08f5

Browse files
committed
Fix default port
1 parent ab40da2 commit fdb08f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/configs/env.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ var parseEnv = function (env, parent, prefix) {
4343
module.exports = function(options) {
4444
var env = _.clone(process.env);
4545
_.each(alias, function(to, from) {
46-
env[to] = env[from] || env[to];
47-
})
46+
if (env[from]) env[to] = env[from] || env[to];
47+
});
4848

4949
return parseEnv(env, options, 'CODEBOX');
5050
};

0 commit comments

Comments
 (0)