Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
retries: and now again without the filehandle close
Browse files Browse the repository at this point in the history
colemickens committed Oct 24, 2023
1 parent d46d5b1 commit 3f99ffd
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
@@ -341,7 +341,6 @@ class NixInstallerAction {
await (0,node_stream_promises__WEBPACK_IMPORTED_MODULE_8__.finished)(bodyReader.pipe(fileStream));
fileStream.close();
await handle.sync();
await handle.close();
_actions_core__WEBPACK_IMPORTED_MODULE_0__.info(`Downloaded \`nix-installer\` to \`${tempfile}\``);
}
else {
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -440,7 +440,6 @@ class NixInstallerAction {
await finished(bodyReader.pipe(fileStream));
fileStream.close();
await handle.sync();
await handle.close();

actions_core.info(`Downloaded \`nix-installer\` to \`${tempfile}\``);
} else {

0 comments on commit 3f99ffd

Please sign in to comment.