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