mirror of
https://github.com/actions/cache.git
synced 2024-11-09 16:01:47 +01:00
Fix typo in error message (#29)
This commit is contained in:
parent
2523667574
commit
7058277028
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ export function resolvePath(filePath: string): string {
|
|||
if (filePath[0] === "~") {
|
||||
const home = os.homedir();
|
||||
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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue