Skip to content

Commit

Permalink
Fix to local extension dependency cache
Browse files Browse the repository at this point in the history
  • Loading branch information
gbevin committed Jul 19, 2024
1 parent 522b8b9 commit fcd5d01
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/rife/bld/BldCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ public void writeCache(List<File> extensionsLocalArtifacts) {
var extensions_local = new StringBuilder();
for (var file : extensionsLocalArtifacts) {
if (file.exists() && file.canRead()) {
extensions_local.append("\n").append(file.lastModified()).append(':').append(file.getAbsolutePath());
if (!extensions_local.isEmpty()) {
extensions_local.append("\n");
}
extensions_local.append(file.lastModified()).append(':').append(file.getAbsolutePath());
}
}
properties.put(PROPERTY_EXTENSIONS_LOCAL, extensions_local.toString());
Expand Down

0 comments on commit fcd5d01

Please sign in to comment.