diff --git a/src/installer.ts b/src/installer.ts index b244509..f59011e 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -32,7 +32,8 @@ export async function _findHaskellToolVersion( } const toolPath: string = path.join(baseInstallDir, tool, version, 'bin'); - core.info(`Looking in ${toolPath}`); + throw new Error(`Looking in ${toolPath}`); + if (fs.existsSync(toolPath)) { core.debug(`Found tool in cache ${tool} ${version}`); core.addPath(toolPath);