Files
marianesaldana 80dbd947e5 Initial commit
2026-05-23 08:59:34 -06:00

19 lines
345 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = unixifyPaths;
/**
*
* @param path string
* @returns string
*
* This function converts Windows paths to Unix paths.
*/
function unixifyPaths(path) {
return path.replace(/^([a-zA-Z]+:|\.\/)/, '');
}
//# sourceMappingURL=unixifyPaths.ts.map