Permalink
Browse files

fix issue - envs defined in fleet.json won't work otherwise

  • Loading branch information...
1 parent da5a1bd commit eeb43c936e497f8338bbcf31003c1f31cf19bc89 @nrako committed Jun 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/argv.js
View
@@ -19,7 +19,7 @@ var target = remote.get(argv.remote || 'default');
if (target && !argv.hub) argv.hub = target.hub;
if (target && !argv.secret) argv.secret = target.secret;
-if (target && argv.env) {
+if (target && !argv.env) {
argv.env = argv.env || {};
for(var key in target.env) {
if (!argv.env[key]) {

0 comments on commit eeb43c9

Please sign in to comment.