Skip to content

Commit

Permalink
Fix for Object.freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
nikoskalogridis committed Oct 23, 2018
1 parent 9b9bb22 commit 8495636
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function jslinter(update) {
var jslint = compileJSLint(
jsLintProgram.replace(
"export default Object.freeze(function jslint(",
"function jslint("
"const jslint = Object.freeze(function jslint("
)
);
var result = jslint(jsLintProgram);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"code-quality",
"static-analysis"
],
"version": "1.2.6",
"version": "1.2.7",
"author": "Nikos Kalogridis",
"bin": {
"jslint": "./bin/jslint.js"
Expand Down

0 comments on commit 8495636

Please sign in to comment.