Skip to content

Commit

Permalink
fix: minor fix in log messages
Browse files Browse the repository at this point in the history
Log messages were inverted.
  • Loading branch information
quintesse committed Feb 7, 2023
1 parent 01d26c4 commit f0917fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/dev/jbang/dependencies/DependencyCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ public static List<ArtifactInfo> findDependenciesByHash(String depsHash) {
if (Util.isVerbose()) {
cachedCP.stream().filter(ai -> !ai.isUpToDate()).forEach(ai -> {
if (Files.isReadable(ai.getFile())) {
Util.verboseMsg(" Artifact not found in local cache: " + ai.getFile());
} else {
Util.verboseMsg(
" Artifact out of date: " + ai.getFile() + " : " + ai.getTimestamp() + " != "
+ ai.getFile().toFile().lastModified());
} else {
Util.verboseMsg(" Artifact not found in local cache: " + ai.getFile());
}
});
}
Expand Down

0 comments on commit f0917fa

Please sign in to comment.