Skip to content

Commit

Permalink
once
Browse files Browse the repository at this point in the history
  • Loading branch information
paula-stacho committed Feb 29, 2024
1 parent b503d66 commit bf65120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli-repl/src/update-notification-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class UpdateNotificationManager {

if (response.status === 304 /* Not Modified, i.e. ETag matched */) {
response.body
.on('error', () => {
.once('error', () => {
/* ignore response content and errors */
})
.resume();
Expand Down

0 comments on commit bf65120

Please sign in to comment.