Skip to content

Commit

Permalink
Use deep clone
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov committed Apr 20, 2024
1 parent f3064bc commit 52658f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/host-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export function find(search: HostRuleSearch): CombinedHostRule {
}

if (hostTypeMatch && hostMatch) {
matchedRules.push(rule);
matchedRules.push(clone(rule));
}
}

Expand Down

0 comments on commit 52658f2

Please sign in to comment.