Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
milesstoetzner committed Sep 14, 2024
1 parent 01f9227 commit cbc6195
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/technologies/plugins/rules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ export class TechnologyRulePlugin implements TechnologyPlugin {
assert.isDefined(search)

for (const host of node.hosts) {
// TODO: should assert somewhere that there is at max one hosting between the two nodes!
const relation = node.outgoing.find(it => it.isHostedOn() && it.target === host)
assert.isDefined(relation)

Expand Down

0 comments on commit cbc6195

Please sign in to comment.