Skip to content

Commit 87dbb60

Browse files
fix: smaller issues
1 parent 1d1bddf commit 87dbb60

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/util.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,8 +835,8 @@ function sanitizeString(str, strict) {
835835
strict = false;
836836
}
837837
let result = '';
838-
const s = util.isPrototypePolluted() ? '---' : util.sanitizeShellString(str, strict);
839-
const l = util.mathMin(s.length, 2000);
838+
const s = isPrototypePolluted() ? '---' : sanitizeShellString(str, strict);
839+
const l = mathMin(s.length, 2000);
840840

841841
for (let i = 0; i <= l; i++) {
842842
if (s[i] !== undefined) {

0 commit comments

Comments
 (0)