Deploy version 1.0.2
This commit is contained in:
9
dist/index.js
vendored
9
dist/index.js
vendored
@@ -26225,10 +26225,13 @@ function formatDuration(ms) {
|
|||||||
return parts.join(" ");
|
return parts.join(" ");
|
||||||
}
|
}
|
||||||
function expandPath(p) {
|
function expandPath(p) {
|
||||||
if (p.startsWith("~")) {
|
if (p === "~") {
|
||||||
return import_path.default.join(os.homedir(), p.slice(1));
|
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
|
// src/cache.ts
|
||||||
|
Reference in New Issue
Block a user