Skip to content

Commit

Permalink
Fixed variable mistype.
Browse files Browse the repository at this point in the history
  • Loading branch information
Giedrius Grabauskas committed Apr 13, 2017
1 parent 48bf2f0 commit 2a0cdcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export class GlobsUglifyJs {

let globOptions: glob.IOptions | undefined;

if (this.options.Exclue !== undefined) {
globOptions = { ignore: this.options.Exclue };
if (this.options.Exclude !== undefined) {
globOptions = { ignore: this.options.Exclude };
}

try {
Expand Down
2 changes: 1 addition & 1 deletion src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class OptionsConstructor implements Options {
return this.options.Debug!;
}

public get Exclue(): Array<string> | string | undefined {
public get Exclude(): Array<string> | string | undefined {
return this.options.exclude;
}

Expand Down

0 comments on commit 2a0cdcc

Please # to comment.