Skip to content

Commit

Permalink
fix: correctly detect definition changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SandPod committed Nov 25, 2024
1 parent e90c6f1 commit cd141f0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ class EndpointsAnalyzer {
var oldDefinitions = _endpointDefinitions;
await analyze(collector: CodeGenerationCollector());

var shared = _endpointDefinitions.intersection(oldDefinitions);
if (shared.length != oldDefinitions.length) {
if (_endpointDefinitions.length != oldDefinitions.length) {
return true;
}

Expand Down

0 comments on commit cd141f0

Please sign in to comment.