From ed3f2cf6f6676aaf93d668049dc7b6a04e4c06c0 Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Mon, 30 Sep 2019 11:12:07 -0700 Subject: [PATCH] Throw an error, just to test --- src/installer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);