Skip to content

Commit c6e3da6

Browse files
authored
Enforce naming conventions
1 parent 870db22 commit c6e3da6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/chrome.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ class Chrome extends EventEmitter {
251251

252252
_handleConnectionClose() {
253253
// make sure to complete all the unresolved callbacks
254-
const error = new Error('WebSocket connection closed');
254+
const err = new Error('WebSocket connection closed');
255255
for (const callback of Object.values(this._callbacks)) {
256-
callback(error);
256+
callback(err);
257257
}
258258
this._callbacks = {};
259259
}

0 commit comments

Comments
 (0)