Skip to content

Commit

Permalink
Remove unused check
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Aug 28, 2019
1 parent 4d6cd53 commit ec973d1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,7 @@ export default class Module {
props.frame = getCodeFrame(this.originalCode, location.line, location.column);
}

const watchFiles = Object.keys(this.graph.watchFiles);
if (watchFiles.length > 0) {
props.watchFiles = watchFiles;
}
props.watchFiles = Object.keys(this.graph.watchFiles);

error(props);
}
Expand Down

0 comments on commit ec973d1

Please sign in to comment.