Skip to content

Commit

Permalink
Enable and fix eslint for binderhub-client
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Dec 15, 2023
1 parent 3293445 commit 35c33e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/packages/binderhub-client/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class BinderRepository {
this.eventSource = new EventSource(this.buildUrl);
return new EventIterator((queue) => {
this.eventIteratorQueue = queue;
this.eventSource.onerror = (err) => {
this.eventSource.onerror = () => {
queue.push({
phase: "failed",
message: "Failed to connect to event stream\n",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"scripts": {
"webpack": "webpack",
"webpack:watch": "webpack --watch",
"lint": "eslint binderhub/static/js",
"lint": "eslint binderhub/static/js js/",
"test": "jest"
},
"jest": {
Expand Down

0 comments on commit 35c33e1

Please sign in to comment.