Skip to content

Commit

Permalink
Merge pull request #3295 from cb1kenobi/timob-11531_3_0_X
Browse files Browse the repository at this point in the history
[TIMOB-11531] Fixed bug with modules being accidentally reset.
  • Loading branch information
Bryan Hughes committed Oct 18, 2012
2 parents b6a9d2f + 7390789 commit 2f9a5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ function build(logger, config, cli, finished) {
this.logger.info(__('Setting non-production device build version to %s', this.tiapp.version));
}

Array.isArray(this.tiapp.modules) && (this.tiapp.modules = []);
Array.isArray(this.tiapp.modules) || (this.tiapp.modules = []);

if (cli.argv.xcode) {
this.logger.info(__('Performing Xcode pre-compile phase'));
Expand Down

0 comments on commit 2f9a5df

Please sign in to comment.