diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 017be26..cd0cf56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ defaults: jobs: build: - runs-on: "ubuntu-latest" + runs-on: "ubuntu-20.04" steps: - uses: "actions/checkout@v3" diff --git a/install-purescript/index.js b/install-purescript/index.js index ab4f3e9..ac6c967 100644 --- a/install-purescript/index.js +++ b/install-purescript/index.js @@ -129,12 +129,6 @@ module.exports = function installPurescript(...args) { return cancelInstallation; } - const tmpSubscription = downloadOrBuildPurescript(options).subscribe({ - error(err) { - observer.error(err); - } - }); - (async () => { const searchCacheValue = { id: 'search-cache', @@ -143,10 +137,6 @@ module.exports = function installPurescript(...args) { const [info] = await Promise.all([ cacache.get.info(cacheRootDir, CACHE_KEY), - (async () => { - await promisify(setImmediate)(); - tmpSubscription.unsubscribe(); - })(), (async () => { let binStat; try {