Skip to content

Commit

Permalink
Merge pull request #6643 from feons/TIMOB-18396
Browse files Browse the repository at this point in the history
[TIMOB-18396] CLI : analytic events are not sent if you pass --url flag multiple times
  • Loading branch information
skypanther committed Feb 17, 2015
2 parents cee4103 + 7582d0f commit 3cc9a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/commands/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ CreateCommand.prototype.config = function config(logger, config, cli) {
return callback(true);
}

callback(null, value);
Array.isArray(value) ? callback(null, value[value.length-1]) : callback(null, value);
}
},
'workspace-dir': {
Expand Down

0 comments on commit 3cc9a69

Please sign in to comment.