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/dl-tar/index.js b/dl-tar/index.js index e9a610e..d0514ea 100644 --- a/dl-tar/index.js +++ b/dl-tar/index.js @@ -219,7 +219,7 @@ module.exports = function dlTar(...args) { return; } - observer.complete(); + setTimeout(() => observer.complete(), 1000); }); } catch (err) { ended = true;