mirror of
				https://gitea.com/actions/cache.git
				synced 2025-11-04 07:47:08 +00:00 
			
		
		
		
	Fix typo in error message (#29)
This commit is contained in:
		@@ -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));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user