fix(striker-ui-api): skip fences without port in build manifest

main^2
Tsu-ba-me 7 months ago
parent 0650b4f171
commit 6dee346e48
  1. 2
      striker-ui-api/src/lib/request_handlers/manifest/buildManifest.ts

@ -235,6 +235,8 @@ export const buildManifest = async (
`Fence name must be a peaceful string; got [${fenceName}]`,
);
if (!port) return;
assert(
REP_PEACEFUL_STRING.test(port),
`Port of ${fenceName} must be a peaceful string; got [${port}]`,

Loading…
Cancel
Save