Skip to content

Fix options validation for 'tns prepare', add validation for 'tns livesync', fix .name to .uuid in provision checks#2405

Merged
vchimev merged 1 commit into
masterfrom
cankov/fix-options-validation
Jan 11, 2017
Merged

Fix options validation for 'tns prepare', add validation for 'tns livesync', fix .name to .uuid in provision checks#2405
vchimev merged 1 commit into
masterfrom
cankov/fix-options-validation

Conversation

@PanayotCankov

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread lib/commands/run.ts Outdated
this.$errors.fail("When producing a release build, you need to specify all --key-store-* options.");
}
return args.length === 0 && this.$platformService.validateOptions(this.$platformsData.availablePlatforms.Android).wait();
return this.$platformService.validateOptions(this.$platformsData.availablePlatforms.Android).wait();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case user writes tns run android some other arguments the command will still be executed, which is change from the current behavior. Is this intended?

@PanayotCankov PanayotCankov Jan 11, 2017

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the zero check was an error. Whatever the options, once tns run android ... is called, the platformService should validate for android options.

@PanayotCankov
PanayotCankov force-pushed the cankov/fix-options-validation branch from 2b20676 to 6b8bf02 Compare January 11, 2017 12:11
…esync', fix .name to .uuid in provision checks
@PanayotCankov
PanayotCankov force-pushed the cankov/fix-options-validation branch from 6b8bf02 to 6e1bc58 Compare January 11, 2017 13:58

@rosen-vladimirov rosen-vladimirov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After green build

@vchimev

vchimev commented Jan 11, 2017

Copy link
Copy Markdown

run ci

@vchimev
vchimev merged commit 8604567 into master Jan 11, 2017
@vchimev
vchimev deleted the cankov/fix-options-validation branch January 11, 2017 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants