Skip to content

Commit 0b154d4

Browse files
author
Mike Kistler
authored
fix: filter out #9d chars from input (#89)
1 parent f3c8ade commit 0b154d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cli-validator/utils/preprocessFile.js

+3
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ module.exports = function(originalFile) {
1414
const solidus = '/';
1515
processedFile = processedFile.replace(escapedSolidus, solidus);
1616

17+
// Another problematic character is #9d - replace with space
18+
processedFile = processedFile.replace(/\x9d/g, ' ');
19+
1720
return processedFile;
1821
};

0 commit comments

Comments
 (0)