mirror of
https://github.com/rife2/bld
synced 2025-12-26 19:08:37 +01:00
Fix to local extension dependency cache
This commit is contained in:
parent
522b8b95d7
commit
fcd5d01e86
|
|
@ -195,7 +195,10 @@ public class BldCache {
|
||||||
var extensions_local = new StringBuilder();
|
var extensions_local = new StringBuilder();
|
||||||
for (var file : extensionsLocalArtifacts) {
|
for (var file : extensionsLocalArtifacts) {
|
||||||
if (file.exists() && file.canRead()) {
|
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());
|
properties.put(PROPERTY_EXTENSIONS_LOCAL, extensions_local.toString());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue