UNPKG

345 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = unixifyPaths;
7/**
8 *
9 * @param path string
10 * @returns string
11 *
12 * This function converts Windows paths to Unix paths.
13 */
14
15function unixifyPaths(path) {
16 return path.replace(/^([a-zA-Z]+:|\.\/)/, '');
17}
18
19//# sourceMappingURL=unixifyPaths.ts.map
\No newline at end of file