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
156156 await queryEngine . startServer (
157157 this . getHost ( await this . getConnectionSettings ( ) )
158158 )
159+ const queryEngineUrl = `http://localhost:${ availablePort } /${ await this . getQueryEngine ( ) } `
159160 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 ) } `
163162 )
164163 try {
165- await openBrowser (
166- `http://localhost:${ availablePort } /${ await this . getQueryEngine ( ) } `
167- )
164+ await openBrowser ( queryEngineUrl )
168165 } catch ( error ) {
169166 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 } `
171168 )
172169 }
173170 }
You can’t perform that action at this time.
0 commit comments