Skip to content

Commit 68a757f

Browse files
committed
Fix issues with asset download up-to-date check with new task output system
1 parent f799ef9 commit 68a757f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/dev/lukebemish/taskgraphrunner/runtime/tasks/DownloadAssetsTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public Map<String, String> outputTypes() {
4444

4545
@Override
4646
protected boolean upToDate(long lastExecuted, Context context) {
47-
var propertiesPath = context.taskOutputPath(this, "properties");
47+
var propertiesPath = context.existingTaskOutput(this, "properties");
4848
var properties = new Properties();
4949
try (var reader = Files.newBufferedReader(propertiesPath, StandardCharsets.UTF_8)) {
5050
properties.load(reader);

0 commit comments

Comments
 (0)