Rename function

This commit is contained in:
Reinier Criel 2026-04-15 15:33:37 -07:00
parent 7ed943d46f
commit b3372cc50e

View file

@ -118,7 +118,7 @@ function toBashPath(path) {
} }
if (hasCygpath()) { if (hasCygpath()) {
return cygpathu(path); return convertCygwinPathToUnix(path);
} }
return path.replace(/\\/g, "/"); return path.replace(/\\/g, "/");
@ -176,7 +176,7 @@ function cygpathw(path) {
* *
* @returns {string} * @returns {string}
*/ */
function cygpathu(path) { function convertCygwinPathToUnix(path) {
try { try {
var result = spawnSync("cygpath", ["-u", path], { var result = spawnSync("cygpath", ["-u", path], {
encoding: "utf8", encoding: "utf8",