diff options
Diffstat (limited to 'node_modules/slash/index.js')
| -rw-r--r-- | node_modules/slash/index.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/node_modules/slash/index.js b/node_modules/slash/index.js deleted file mode 100644 index 75d72501..00000000 --- a/node_modules/slash/index.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; -module.exports = input => { - const isExtendedLengthPath = /^\\\\\?\\/.test(input); - const hasNonAscii = /[^\u0000-\u0080]+/.test(input); // eslint-disable-line no-control-regex - - if (isExtendedLengthPath || hasNonAscii) { - return input; - } - - return input.replace(/\\/g, '/'); -}; |
