Skip to content

Commit bf65120

Browse files
committed
once
1 parent b503d66 commit bf65120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli-repl/src/update-notification-manager.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class UpdateNotificationManager {
103103

104104
if (response.status === 304 /* Not Modified, i.e. ETag matched */) {
105105
response.body
106-
.on('error', () => {
106+
.once('error', () => {
107107
/* ignore response content and errors */
108108
})
109109
.resume();

0 commit comments

Comments
 (0)