Skip to content

Commit

Permalink
Merge pull request #170 from feons/TIMOB-17605
Browse files Browse the repository at this point in the history
[TIMOB-17605] : CLI throws an error while reading platform input value given for “ti build -p” or “ti build —platform”
  • Loading branch information
skypanther committed Feb 17, 2015
2 parents 389ef9c + 37a6778 commit 31b260a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ Context.prototype.load = function load(logger, config, cli, callback) {

options = platformContext.options;
mix(argv, platformContext.parse(cli.argv.$_, [this.name]));
argv.platform = platformContext.name;
argv.$platform = argv.platform;

// find all platform hooks
Expand Down

0 comments on commit 31b260a

Please sign in to comment.