Skip to content

Commit

Permalink
Merge pull request #9059 from cb1kenobi/timob-24691
Browse files Browse the repository at this point in the history
[TIMOB-24691] Inject platform back into args just in case the set pla…
  • Loading branch information
feons committed May 12, 2017
2 parents a58bb41 + ac59c8f commit b40c438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ exports.config = function config(logger, config, cli) {
if (!cli.argv.$originalPlatform) {
cli.argv.$originalPlatform = platform;
}
platform = ti.resolvePlatform(platform);
platform = cli.argv.platform = ti.resolvePlatform(platform);

var p = platformConf[platform];
p && p.options && Object.keys(p.options).forEach(function (name) {
Expand Down

0 comments on commit b40c438

Please sign in to comment.