Format
This commit is contained in:
@@ -31,12 +31,7 @@ export async function _findHaskellToolVersion(
|
|||||||
throw new Error('versionSpec parameter is required');
|
throw new Error('versionSpec parameter is required');
|
||||||
}
|
}
|
||||||
|
|
||||||
const toolPath: string = path.join(
|
const toolPath: string = path.join(baseInstallDir, tool, version, 'bin');
|
||||||
baseInstallDir,
|
|
||||||
tool,
|
|
||||||
version,
|
|
||||||
'bin'
|
|
||||||
);
|
|
||||||
if (fs.existsSync(toolPath)) {
|
if (fs.existsSync(toolPath)) {
|
||||||
core.debug(`Found tool in cache ${tool} ${version}`);
|
core.debug(`Found tool in cache ${tool} ${version}`);
|
||||||
core.addPath(toolPath);
|
core.addPath(toolPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user