diff --git a/lib/index.js b/lib/index.js index f058a56..c447c91 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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); diff --git a/package.json b/package.json index 3e5df3f..a7244fa 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "code-quality", "static-analysis" ], - "version": "1.2.6", + "version": "1.2.7", "author": "Nikos Kalogridis", "bin": { "jslint": "./bin/jslint.js"