diff options
author | Guy Bedford <guybedford@gmail.com> | 2019-12-05 00:11:04 -0500 |
---|---|---|
committer | Guy Bedford <guybedford@gmail.com> | 2019-12-05 02:49:17 -0500 |
commit | 781e41df618a8d8878fb1c819855a31ef75115d1 (patch) | |
tree | d4125249f8d8fb783f89a3c9e775941cf59aab24 /lib | |
parent | 1549c8e077422b79573936960daaa4c695620310 (diff) | |
download | android-node-v8-781e41df618a8d8878fb1c819855a31ef75115d1.tar.gz android-node-v8-781e41df618a8d8878fb1c819855a31ef75115d1.tar.bz2 android-node-v8-781e41df618a8d8878fb1c819855a31ef75115d1.zip |
module: fixup lint and test regressions
PR-URL: https://github.com/nodejs/node/pull/30802
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/internal/modules/cjs/loader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/modules/cjs/loader.js b/lib/internal/modules/cjs/loader.js index 687d39563d..d5c6352c49 100644 --- a/lib/internal/modules/cjs/loader.js +++ b/lib/internal/modules/cjs/loader.js @@ -1169,7 +1169,7 @@ Module.prototype._compile = function(content, filename) { } catch { // We only expect this codepath to be reached in the case of a // preloaded module (it will fail earlier with the main entry) - assert(Array.isArray(getOptionValue('--require'))); + assert(ArrayIsArray(getOptionValue('--require'))); } } else { resolvedArgv = 'repl'; |