Skip to content

Commit

Permalink
fixup! fixup! edit
Browse files Browse the repository at this point in the history
  • Loading branch information
tamuratak committed Oct 21, 2024
1 parent 24fd428 commit bbe637c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/atsuggestionlib/atsuggestion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export class AtSuggestion implements IProvider {
const filteredSuggestions = suggestions.filter(item => item.label === result[0])
if (filteredSuggestions.length > 0) {
return filteredSuggestions.map(item => {
/* eslint-disable-next-line @typescript-eslint/no-base-to-string */
item.range = new vscode.Range(args.position.translate(undefined, -item.label.toString().length), args.position)
return item
})
Expand Down
1 change: 1 addition & 0 deletions viewer/components/extensionconnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class ConnectionPort {
const server = `${scheme}://${window.location.hostname}:${window.location.port}`
const sock = new WebSocket(server)
sock.addEventListener('open', () => this.socketPromise.resolve(sock) )
/* eslint-disable-next-line @typescript-eslint/no-base-to-string */
sock.addEventListener('error', (ev) => this.socketPromise.reject(new Error(`Failed to connect to ${server}: ${ev}`)) )
this.startConnectionKeeper()
}
Expand Down

0 comments on commit bbe637c

Please sign in to comment.