Skip to content

Commit

Permalink
Removing Circular test since if it is already loaded, we can just ski…
Browse files Browse the repository at this point in the history
…p loading it
  • Loading branch information
mrinc committed Feb 21, 2024
1 parent fe2734a commit ddfde91
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions nodejs/src/serviceBase/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,13 +405,7 @@ export class SBServices {
}
if (!resolved.includes(beforePlugin)) {
if (unresolved.includes(beforePlugin)) {
throw new BSBError(
"Circular dependency detected: {plugin1}<>{plugin2}",
{
plugin1: plugin.pluginName,
plugin2: beforePlugin.pluginName,
}
);
continue;
}
visitPlugin(beforePlugin, resolved, unresolved);
}
Expand Down

0 comments on commit ddfde91

Please sign in to comment.