Throw an error, just to test

This commit is contained in:
Timothy Clem
2019-09-30 11:12:07 -07:00
parent c7bae09eed
commit ed3f2cf6f6

View File

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