These do not need to be async

This commit is contained in:
Timothy Clem
2019-09-30 11:20:46 -07:00
parent ed3f2cf6f6
commit a803c8eafa
2 changed files with 11 additions and 15 deletions

View File

@@ -13,13 +13,13 @@ async function run() {
if (!ghcVersion) {
ghcVersion = defaultGHCVersion;
}
await findHaskellGHCVersion(baseInstallDir, ghcVersion);
findHaskellGHCVersion(baseInstallDir, ghcVersion);
let cabalVersion = core.getInput('cabal-version');
if (!cabalVersion) {
cabalVersion = defaultCabalVersion;
}
await findHaskellCabalVersion(baseInstallDir, cabalVersion);
findHaskellCabalVersion(baseInstallDir, cabalVersion);
} catch (error) {
core.setFailed(error.message);
}