Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ronny1982 committed Jul 27, 2024
1 parent c053961 commit 1333c1c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/web/mjs/engine/Connectors.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ export default class Connectors {
console.warn(`Failed to load connector`, error);
}
}

_protocolHandler( request, callback ) {
let uri = new URL( request.url );
this._list.find( connector => connector.id === uri.hostname ).handleConnectorURI( uri )
.then( buffer => callback( buffer ) )
.catch( error => {
//console.error( error, payload );
callback( undefined );
} );
.then( buffer => callback( buffer ) )
.catch( _ => {

Check failure on line 64 in src/web/mjs/engine/Connectors.mjs

View workflow job for this annotation

GitHub Actions / ubuntu-latest

'_' is defined but never used
//console.error( error, payload );
callback( undefined );
} );
}
}

0 comments on commit 1333c1c

Please sign in to comment.