Skip to content

Commit

Permalink
fix: exclude section is not necessary (#143)
Browse files Browse the repository at this point in the history
tsconfig.json doesn't need an exclude section when an include section
is present.

Fixes: #70
  • Loading branch information
ofrobots authored Apr 3, 2018
1 parent 32c412b commit 00b2436
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ async function generateTsConfig(options: Options): Promise<void> {
const tsconfig = formatJson({
extends: './node_modules/gts/tsconfig-google.json',
compilerOptions: {rootDir: '.', outDir: 'build'},
include: ['src/*.ts', 'src/**/*.ts', 'test/*.ts', 'test/**/*.ts'],
exclude: ['node_modules']
include: ['src/*.ts', 'src/**/*.ts', 'test/*.ts', 'test/**/*.ts']
});

let writeTsConfig = true;
Expand Down

0 comments on commit 00b2436

Please sign in to comment.