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(" ");
|
||||
}
|
||||
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
|
||||
|
Reference in New Issue
Block a user