Open
Description
Environment
- CLI: 6.5.0
- Cross-platform modules: 6.2.3
- Android Runtime: 6.2.0
- iOS Runtime: 6.2.0
- Plugin(s): none
Describe the bug
When tns plugin create
, --includeAngularDemo
option does not work.
To Reproduce
$ tns plugin create --pluginName=foo --username=bar --includeTypeScriptDemo=y --includeAngularDemo=n ./nativescript-foo
Expected behavior
$ ls ./nativescript-foo/demo-angular
ls: cannot access './nativescript-foo/demo-angular': No such file or directory
But the directory exists.
Sample project
none
Additional context
#4616
At this line,
includeDemoOption
is "y"
or "n"
then shouldIncludeDemo
is always true.