bpms_site/.svn/pristine/5e/5e3ce17eaee1aa50f581be79ea71f3f37b5743e7.svn-base
2025-11-02 16:38:49 +03:30

19 lines
505 B
Plaintext

/**
* For a given page path, this function ensures that there is no backslash
* escaping slashes in the path. Example:
* - `foo\/bar\/baz` -> `foo/bar/baz`
*/ "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "normalizePathSep", {
enumerable: true,
get: function() {
return normalizePathSep;
}
});
function normalizePathSep(path) {
return path.replace(/\\/g, "/");
}
//# sourceMappingURL=normalize-path-sep.js.map