Skip to content

Commit b53f721

Browse files
authored
Set CHECKED when there are no modules to avoid repeating the work (#1184)
1 parent 1a466b7 commit b53f721

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/src/main/java/software/amazon/smithy/java/core/VersionCheck.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public static void check(ModuleVersion codegenVersion) {
6262
}
6363

6464
if (modules.isEmpty()) {
65+
CHECKED.set(true);
6566
return;
6667
}
6768

0 commit comments

Comments
 (0)