There was an error while loading. Please reload this page.
1 parent 1d1bddf commit 87dbb60Copy full SHA for 87dbb60
1 file changed
lib/util.js
@@ -835,8 +835,8 @@ function sanitizeString(str, strict) {
835
strict = false;
836
}
837
let result = '';
838
- const s = util.isPrototypePolluted() ? '---' : util.sanitizeShellString(str, strict);
839
- const l = util.mathMin(s.length, 2000);
+ const s = isPrototypePolluted() ? '---' : sanitizeShellString(str, strict);
+ const l = mathMin(s.length, 2000);
840
841
for (let i = 0; i <= l; i++) {
842
if (s[i] !== undefined) {
0 commit comments