mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-16 16:01:22 +02:00
Fix typo in error message
This commit is contained in:
parent
aae1376422
commit
cf335668c9
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ export function resolvePath(filePath: string): string {
|
||||||
if (filePath[0] === "~") {
|
if (filePath[0] === "~") {
|
||||||
const home = os.homedir();
|
const home = os.homedir();
|
||||||
if (!home) {
|
if (!home) {
|
||||||
throw new Error("Unable to resole `~` to HOME");
|
throw new Error("Unable to resolve `~` to HOME");
|
||||||
}
|
}
|
||||||
return path.join(home, filePath.slice(1));
|
return path.join(home, filePath.slice(1));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue