Deploy version 1.0.2

This commit is contained in:
Gitea Actions
2025-04-30 15:59:03 +00:00
parent 4860b006c5
commit 2b91ef238f

9
dist/index.js vendored
View File

@@ -26225,10 +26225,13 @@ function formatDuration(ms) {
return parts.join(" ");
}
function expandPath(p) {
if (p.startsWith("~")) {
return import_path.default.join(os.homedir(), p.slice(1));
if (p === "~") {
return os.homedir();
}
return p;
if (p.startsWith("~/") || p.startsWith("~\\")) {
p = import_path.default.join(os.homedir(), p.slice(2));
}
return import_path.default.resolve(p);
}
// src/cache.ts