We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6493397 commit d510209Copy full SHA for d510209
lib/escape.js
@@ -68,7 +68,7 @@ const sh = (input) => {
68
// disabling the no-control-regex rule for this line as we very specifically _do_ want to
69
// replace those characters if they somehow exist at this point, which is highly unlikely
70
// eslint-disable-next-line no-control-regex
71
-const filename = (input) => input.replace(/[<>:"/\\|?*\x00-\x31]/g, '')
+const filename = (input) => input.replace(/[<>:"/\\|?*\x00-\x1F]/g, '')
72
73
module.exports = {
74
cmd,
0 commit comments