File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @latticexyz/world " : patch
3+ ---
4+
5+ Fixed an issue in system resolving helper used by CLI was not correctly comparing ` namespaceLabel ` s.
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ export async function resolveSystems({
2020 // validate every system in config refers to an existing system contract
2121 const configSystems = Object . values ( config . namespaces ) . flatMap ( ( namespace ) => Object . values ( namespace . systems ) ) ;
2222 const missingSystems = configSystems . filter (
23- ( system ) => ! systemContracts . some ( ( s ) => s . namespaceLabel === system . namespace && s . systemLabel === system . label ) ,
23+ ( system ) =>
24+ ! systemContracts . some ( ( s ) => s . namespaceLabel === system . namespaceLabel && s . systemLabel === system . label ) ,
2425 ) ;
2526 if ( missingSystems . length > 0 ) {
2627 throw new Error (
You can’t perform that action at this time.
0 commit comments