1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-24 04:29:16 +01:00

Fix typo in error message (#29)

This commit is contained in:
Winter Jung 2019-11-01 23:35:38 +09:00 committed by Josh Gross
parent 2523667574
commit 7058277028

View file

@ -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));
} }