Bug Report or Feature Request (mark with an x)
- [ X ] bug report -> please search issues before submitting
- [ ] feature request
Versions.
macOS Sierra 10.12.6
@angular/cli: 1.4.3
node: 6.11.3
os: darwin x64
@angular/animations: 4.4.3
@angular/common: 4.4.3
@angular/compiler: 4.4.3
@angular/core: 4.4.3
@angular/forms: 4.4.3
@angular/http: 4.4.3
@angular/platform-browser: 4.4.3
@angular/platform-browser-dynamic: 4.4.3
@angular/router: 4.4.3
@angular/cli: 1.4.3
@angular/compiler-cli: 4.4.3
@angular/language-service: 4.4.3
typescript: 2.3.4
Repro steps.
ng new ignite --minimal
cd ignite
ng g c heroes --flat
The log given by the failure.
This creates 4 files.
heroes.component.html
heroes.component.scss
heroes.component.spec.ts
heroes.component.ts
Desired functionality.
I expected only 1 file, heroes.component.ts, to be created.
Mention any other details that might be useful.
The .angular-cli.json contains the proper settings.
Also, if I run ng g c heroes --flat --it --is --spec false then I get one file.
It appears that the commands are not checking the json file's settings.

Bug Report or Feature Request (mark with an
x)Versions.
macOS Sierra 10.12.6
@angular/cli: 1.4.3
node: 6.11.3
os: darwin x64
@angular/animations: 4.4.3
@angular/common: 4.4.3
@angular/compiler: 4.4.3
@angular/core: 4.4.3
@angular/forms: 4.4.3
@angular/http: 4.4.3
@angular/platform-browser: 4.4.3
@angular/platform-browser-dynamic: 4.4.3
@angular/router: 4.4.3
@angular/cli: 1.4.3
@angular/compiler-cli: 4.4.3
@angular/language-service: 4.4.3
typescript: 2.3.4
Repro steps.
The log given by the failure.
This creates 4 files.
Desired functionality.
I expected only 1 file,
heroes.component.ts, to be created.Mention any other details that might be useful.
The
.angular-cli.jsoncontains the proper settings.Also, if I run
ng g c heroes --flat --it --is --spec falsethen I get one file.It appears that the commands are not checking the json file's settings.