-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fix) check for undefined and null options
Before, genBase checked for truthy values which caused sending false values to be ignored. Now, genBase checks for undefined and null options. If they are not undefined and not null, then use passed option. Otherwise, use value from .yo-rc.json.
- Loading branch information
1 parent
2ee043b
commit d3d5855
Showing
1 changed file
with
8 additions
and
4 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