fix: spread provider returns in boot snapshot; dedupe path-join; guard step runner

This commit is contained in:
chrnx committed 2026-06-26 01:01:06 -05:00
1 parent 62eb6587ea
commit 221a230270
2 files changed
+9 -11

No files matched your search

+1 -1
View File
@@ -74,6 +74,6 @@ export function getRoutes(cls: Ctor): RouteMeta[] {
return routes.map((r) => ({ ...r, path: joinPath(prefix, r.path) }));
}
function joinPath(a: string, b: string): string {
export function joinPath(a: string, b: string): string {
return `${a.replace(/\/$/, '')}/${b.replace(/^\//, '')}`.replace(/\/+/g, '/');
}