Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(packager): warn if the app version is not set
- Loading branch information
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29070ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might be reading this the wrong way but the text on the warning (117) and the condition (115) say different things, isn´t it?
29070ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are you interpreting it?
29070ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wrong. I noticed it writing the comment. I was thinking in the equivalent:
if !(packageJSON.version || packageOpts.appVersion)
And for some reason I did not see it in your code. Sorry for the lost time.