Skip to content

Commit

Permalink
fix(index): missing braces
Browse files Browse the repository at this point in the history
  • Loading branch information
niieani committed Jul 14, 2016
1 parent ae03be6 commit 852ed31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export = function tslint({options = undefined, exclude = null} = {}) {
return {
module: {
preLoaders: get(this, 'module.preLoaders', []).concat([
{ test: /\.tsx?$/, loader: 'tslint', exclude: exclude || this.metadata.root ? [path.join(this.metadata.root, 'node_modules')] : [] }
{ test: /\.tsx?$/, loader: 'tslint', exclude: exclude || (this.metadata.root ? [path.join(this.metadata.root, 'node_modules')] : []) }
])
},
tslint: options
Expand Down

0 comments on commit 852ed31

Please sign in to comment.