This commit is contained in:
Reinier Criel 2025-12-11 15:13:15 -08:00
parent 14bb6899d8
commit 2b0f8d9f0d
6 changed files with 76 additions and 4 deletions

View file

@ -113,6 +113,13 @@ export function getPackageManagerList() {
return `${tools.join(", ")}, and ${lastTool} commands`;
}
/**
* @returns {string}
*/
export function getShimsDir() {
return path.join(os.homedir(), ".safe-chain", "shims");
}
/**
* @param {string} executableName
*