Correct error message typo

Signed-off-by: Gustaf Lundh <gustaflh@axis.com>
This commit is contained in:
Gustaf Lundh
2021-10-06 15:17:17 +02:00
parent 09d8329052
commit 8f969d5a56
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': patch
---
Correct error message typo
@@ -78,7 +78,7 @@ export function readBaseOptions(config: Config): BaseOptions {
typeof port !== 'string'
) {
throw new Error(
`Invalid type in config for key 'backend.listen.post', got ${typeof port}, wanted string or number`,
`Invalid type in config for key 'backend.listen.port', got ${typeof port}, wanted string or number`,
);
}