Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Envs defined in fleet.json are ignored #21

Closed
wants to merge 1 commit into from

2 participants

@nrako

envs defined in fleet.json are ignored, wrong condition missing ! in lib/argv.js

@Raynos

@substack I get this issue as well. envs are ignored.

@nrako nrako closed this
@nrako

way too old I'm closing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/argv.js
View
2  lib/argv.js
@@ -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]) {
Something went wrong with that request. Please try again.