Skip to content

Commit 31daeec

Browse files
committed
make linter happy with latest version of prettier
1 parent 4285c60 commit 31daeec

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"eslint-plugin-unused-imports": "^3.0.0",
5656
"lerna": "^7.4.2",
5757
"npm-run-all": "^4.1.5",
58-
"prettier": "^3.1.0",
58+
"prettier": "^3.3.3",
5959
"shx": "^0.3.4",
6060
"tsup": "^8.0.1",
6161
"typescript": "^5.3.2",

packages/auth/src/connection/Connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ export class Connection extends EventEmitter<ConnectionEvents> {
841841

842842
#logMessage(direction: 'in' | 'out', message: NumberedMessage<ConnectionMessage>) {
843843
const arrow = direction === 'in' ? '<-' : '->'
844-
const peerUserName = this.#started ? this._context.peer?.userName ?? '?' : '?'
844+
const peerUserName = this.#started ? (this._context.peer?.userName ?? '?') : '?'
845845
this.#log(`${arrow}${peerUserName} #${message.index} ${messageSummary(message)}`)
846846
}
847847
}

pnpm-lock.yaml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)