Skip to content

Commit

Permalink
ci: properly handle errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Wroud committed Sep 9, 2024
1 parent 9c3a147 commit 5484e32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ci-github-release/src/github-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ export async function githubRelease<
parserOpts,
writerOpts,
)
.on("error", reject)
.on("end", resolve)
.pipe(
new Transform({
objectMode: true,
Expand Down Expand Up @@ -119,6 +117,8 @@ export async function githubRelease<
.catch(callback);
},
}),
);
)
.on("error", reject)
.on("end", resolve);
});
}

0 comments on commit 5484e32

Please sign in to comment.