Skip to content

Commit

Permalink
Update prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
nrayburn-tech committed Jul 23, 2024
1 parent 6eee21f commit 46b6567
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/webProxyHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function createWebProxyHandler(
callback?: WebErrorCallback,
) {
const requestOptions =
typeof optionsOrCallback === 'function' ? {} : optionsOrCallback ?? {};
typeof optionsOrCallback === 'function' ? {} : (optionsOrCallback ?? {});
const errorCallback =
typeof optionsOrCallback === 'function' ? optionsOrCallback : callback;

Expand Down
2 changes: 1 addition & 1 deletion lib/websocketProxyHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function createWebSocketProxyHandler(
callback?: WebSocketErrorCallback,
) {
const requestOptions =
typeof optionsOrCallback === 'function' ? {} : optionsOrCallback ?? {};
typeof optionsOrCallback === 'function' ? {} : (optionsOrCallback ?? {});
const errorCallback =
typeof optionsOrCallback === 'function' ? optionsOrCallback : callback;

Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"concat-stream": "^2.0.0",
"eslint": "^8.21.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^2.7.1",
"prettier": "^3.3.3",
"semver": "^7.0.0",
"socket.io": "^4.0.0",
"socket.io-client": "^4.0.0",
Expand Down

0 comments on commit 46b6567

Please sign in to comment.