Skip to content

Commit f054455

Browse files
authored
Merge pull request #46346 from aloubyansky/prioritize-test-model-cache-over-dev
Prioritize test model cache over the dev one in BootstrapAppModelFactory
2 parents 79c75be + e33844a commit f054455

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

independent-projects/bootstrap/core/src/main/java/io/quarkus/bootstrap/BootstrapAppModelFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,12 +364,12 @@ private CurationResult createAppModelForJarOrNull(Path appArtifactPath) {
364364
}
365365

366366
private Path resolveCachedCpPath(LocalProject project) {
367-
if (devMode) {
368-
return BootstrapUtils.resolveSerializedAppModelPath(project.getOutputDir());
369-
}
370367
if (test) {
371368
return BootstrapUtils.getSerializedTestAppModelPath(project.getOutputDir());
372369
}
370+
if (devMode) {
371+
return BootstrapUtils.resolveSerializedAppModelPath(project.getOutputDir());
372+
}
373373
return project.getOutputDir().resolve(QUARKUS).resolve(BOOTSTRAP).resolve(APP_MODEL_DAT);
374374
}
375375

0 commit comments

Comments
 (0)