Skip to content

Commit

Permalink
TIMOB-15987 Code Processor: Running titanium-code-processor using CLI…
Browse files Browse the repository at this point in the history
… throws error
  • Loading branch information
Praveen Innamuri committed Mar 13, 2014
1 parent 633a73e commit 878aafe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions commands/analyze.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ function validateCLIParameters(logger, config, cli, callback) {

// Validate the project information
ti.validateProjectDir(logger, cli, cli.argv, 'project-dir');
// Initialize tiapp properties to stay compatible with old SDK versions.
cli.tiapp.properties || (cli.tiapp.properties = {});
ti.validateTiappXml(logger, config, cli.tiapp);

// Note: we do custom SDK validation because the validateCorrectSDK method does a lot more than we need
Expand Down

0 comments on commit 878aafe

Please sign in to comment.