Skip to content

Commit

Permalink
fix(bld): await archiver.finalize (#1333)
Browse files Browse the repository at this point in the history
Fixes: #1328
  • Loading branch information
ayushmanchhabra authored Jan 1, 2025
1 parent 8c09908 commit 580668f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
os:
- macos-15
- ubuntu-24.04
- windows-2022
- windows-2025
fail-fast: false
runs-on: ${{ matrix.os }}
permissions:
Expand Down
5 changes: 5 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Reporting a Vulnerability

If you discover a security vulnerability within `nw-builder`, please submit a report via the Github's Private Vulnerability Reporting feature.

All security vulnerabilities will be promptly addressed.
2 changes: 1 addition & 1 deletion src/bld.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ const compress = async ({
const writeStream = fs.createWriteStream(`${outDir}.zip`);
archive.pipe(writeStream);
archive.directory(outDir, false);
archive.finalize();
await archive.finalize();
} else if (zip === 'tar') {
await tar.create({
gzip: false,
Expand Down

0 comments on commit 580668f

Please sign in to comment.