Skip to content

Commit

Permalink
make linter happy with latest version of prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbCaudill committed Sep 21, 2024
1 parent 4285c60 commit 31daeec
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"eslint-plugin-unused-imports": "^3.0.0",
"lerna": "^7.4.2",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.0",
"prettier": "^3.3.3",
"shx": "^0.3.4",
"tsup": "^8.0.1",
"typescript": "^5.3.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/connection/Connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ export class Connection extends EventEmitter<ConnectionEvents> {

#logMessage(direction: 'in' | 'out', message: NumberedMessage<ConnectionMessage>) {
const arrow = direction === 'in' ? '<-' : '->'
const peerUserName = this.#started ? this._context.peer?.userName ?? '?' : '?'
const peerUserName = this.#started ? (this._context.peer?.userName ?? '?') : '?'
this.#log(`${arrow}${peerUserName} #${message.index} ${messageSummary(message)}`)
}
}
Expand Down
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 31daeec

Please sign in to comment.