Skip to content

Commit

Permalink
fix(index): do not fail when no parameter passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
niieani committed Jun 24, 2016
1 parent 0b13141 commit ae03be6
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 @@ -5,7 +5,7 @@ import * as path from 'path'
* Tslint loader support for *.ts files
* See: https://github.com/wbuchwalter/tslint-loader
*/
export = function tslint({options, exclude = null}) {
export = function tslint({options = undefined, exclude = null} = {}) {
return function tslint(this: WebpackConfig): WebpackConfig {
return {
module: {
Expand Down

0 comments on commit ae03be6

Please sign in to comment.