Skip to content

Commit 050384b

Browse files
committed
[js] Add a eslint exception for when a variable is used by eval
1 parent b14e57c commit 050384b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/js/nqp-runtime/runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ if (process.browser) {
210210
const realModule = module;
211211
op.loadbytecodefh = function(ctx, fh, file) {
212212
// HACK - loadbytecodefh shouldn't use eval
213-
const module = {require: function(path) {
213+
const module = {require: function(path) { // eslint-disable-line no-unused-vars
214214
return realModule.require(path);
215215
}};
216216
const oldLoaderCtx = exports.loaderCtx;

0 commit comments

Comments
 (0)