Skip to content

Commit

Permalink
README: fix code example so that it type checks (palantir#2050)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomkeVdMeulen authored and adidahiya committed Jan 17, 2017
1 parent 1410020 commit 15ed0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const files = Linter.getFileNames(program);
const results = files.map(file => {
const fileContents = program.getSourceFile(file).getFullText();
const linter = new Linter(file, fileContents, options, program);
return result.lint();
return linter.lint();
});
```

Expand Down

0 comments on commit 15ed0fe

Please sign in to comment.