Skip to content

Commit

Permalink
build(deps-dev): bump prettier from 3.0.3 to 3.2.4 in /superset-webso…
Browse files Browse the repository at this point in the history
…cket (apache#26732)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <[email protected]>
  • Loading branch information
dependabot[bot] and rusackas authored Feb 22, 2024
1 parent cc2f6f1 commit 00b47ab
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
14 changes: 7 additions & 7 deletions superset-websocket/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 superset-websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-lodash": "^7.4.0",
"jest": "^27.3.1",
"prettier": "^3.0.3",
"prettier": "^3.2.4",
"ts-jest": "^27.0.7",
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
Expand Down
8 changes: 2 additions & 6 deletions superset-websocket/utils/client-ws-app/bin/www
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ function onError(error) {
throw error;
}

var bind = typeof port === 'string'
? 'Pipe ' + port
: 'Port ' + port;
var bind = typeof port === 'string' ? 'Pipe ' + port : 'Port ' + port;

// handle specific listen errors with friendly messages
switch (error.code) {
Expand All @@ -101,8 +99,6 @@ function onError(error) {

function onListening() {
var addr = server.address();
var bind = typeof addr === 'string'
? 'pipe ' + addr
: 'port ' + addr.port;
var bind = typeof addr === 'string' ? 'pipe ' + addr : 'port ' + addr.port;
debug('Listening on ' + bind);
}

0 comments on commit 00b47ab

Please sign in to comment.