File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -156,18 +156,15 @@ homebrew: 1. ${chalk.italic.green('brew update')} \n
156
156
await queryEngine . startServer (
157
157
this . getHost ( await this . getConnectionSettings ( ) )
158
158
)
159
+ const queryEngineUrl = `http://localhost:${ availablePort } /${ await this . getQueryEngine ( ) } `
159
160
this . logger . success (
160
- `Serving query engine at ${ chalk . underline . green (
161
- `http://localhost:${ availablePort } `
162
- ) } `
161
+ `Serving query engine at ${ chalk . underline . green ( queryEngineUrl ) } `
163
162
)
164
163
try {
165
- await openBrowser (
166
- `http://localhost:${ availablePort } /${ await this . getQueryEngine ( ) } `
167
- )
164
+ await openBrowser ( queryEngineUrl )
168
165
} catch ( error ) {
169
166
this . logger . warn (
170
- `Could not open a browser tab with query engine, open manually at http://localhost: ${ availablePort } `
167
+ `Could not open a browser tab with query engine, open manually at ${ queryEngineUrl } `
171
168
)
172
169
}
173
170
}
You can’t perform that action at this time.
0 commit comments