angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

On tsconfig.app.json exclude path is wrong

Open code2nguyen opened this issue 8 years ago • 1 comments

Bug Report or Feature Request (mark with an x)

- [ x ] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)

- [ x ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

Angular CLI: 6.1.2
Node: 8.11.1
OS: win32 x64
Angular: 6.1.0
... common, compiler, compiler-cli, core, forms, http
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.7.2
@angular-devkit/build-angular     0.7.2
@angular-devkit/build-optimizer   0.7.2
@angular-devkit/build-webpack     0.7.2
@angular-devkit/core              0.7.2
@angular-devkit/schematics        0.7.2
@angular/animations               6.1.1
@angular/cdk                      6.4.2
@angular/cli                      6.1.2
@angular/flex-layout              6.0.0-beta.17
@angular/material                 6.4.2
@angular/upgrade                  6.1.1
@ngtools/webpack                  6.1.2
@schematics/angular               0.7.2
@schematics/update                0.7.2
rxjs                              6.2.2
typescript                        2.7.2
webpack                           4.9.2

Repro steps

run ng new myproject

The log given by the failure

On myproject/src/tsconfig.app.json, exclude property is not correct

 "exclude": [
    "src/test.ts",
    "**/*.spec.ts"
  ]

Desired functionality

It should be

 "exclude": [
    "test.ts",
    "**/*.spec.ts"
  ]

Mention any other details that might be useful

code2nguyen avatar Aug 09 '18 10:08 code2nguyen

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.