@medusajs/utils
Version:
Medusa utilities functions shared by Medusa core and Modules
11 lines • 341 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.toUnixSlash = toUnixSlash;
function toUnixSlash(path) {
const isExtendedLengthPath = path.startsWith("\\\\?\\");
if (isExtendedLengthPath) {
return path;
}
return path.replace(/\\/g, "/");
}
//# sourceMappingURL=to-unix-slash.js.map
;