initial commit
This commit is contained in:
15
node_modules/slash/index.js
generated
vendored
Normal file
15
node_modules/slash/index.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
|
||||
function slash(path) {
|
||||
var isExtendedLengthPath = typeof path === "string" && path.indexOf("\\\\?\\") === 0;
|
||||
|
||||
if (isExtendedLengthPath) {
|
||||
return path;
|
||||
}
|
||||
|
||||
return String(path).replace(/\\\\/g, "/");
|
||||
}
|
||||
|
||||
module.exports = slash;
|
||||
module.exports.default = slash;
|
||||
module.exports.__esModule = true;
|
||||
Reference in New Issue
Block a user