Use both variables in cli's "base url conflict" error message

`appBaseUrl` was specified twice - which _is_ fine, because the two
values were already proven equal - but it took me until writing this
commit message to realize that it isn't a bug.

So, I'd advocate for this change as "ease of understanding" improvement
:)

Signed-off-by: Mitchell Hentges <mhentges@spotify.com>
This commit is contained in:
Mitchell Hentges
2022-12-29 15:59:26 -08:00
parent 7f4abd5f1c
commit 7b407b303b
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Slightly improve readability of "base URL conflict" error handling code
@@ -80,7 +80,7 @@ export async function startFrontend(options: StartAppOptions) {
`⚠️ Conflict between app baseUrl and backend baseUrl:
app.baseUrl: ${appBaseUrl}
backend.baseUrl: ${appBaseUrl}
backend.baseUrl: ${backendBaseUrl}
Must have unique hostname and/or ports.