From 88fb95f5fe926573a5308a6bd97ad0fa3b588f94 Mon Sep 17 00:00:00 2001 From: Luke Bemish Date: Wed, 16 Oct 2024 21:21:26 -0500 Subject: [PATCH] Fix NeoFormGenerator --- .../taskgraphrunner/model/conversion/NeoFormGenerator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/model/java/dev/lukebemish/taskgraphrunner/model/conversion/NeoFormGenerator.java b/src/model/java/dev/lukebemish/taskgraphrunner/model/conversion/NeoFormGenerator.java index 15362df..28f2781 100644 --- a/src/model/java/dev/lukebemish/taskgraphrunner/model/conversion/NeoFormGenerator.java +++ b/src/model/java/dev/lukebemish/taskgraphrunner/model/conversion/NeoFormGenerator.java @@ -6,6 +6,7 @@ import dev.lukebemish.taskgraphrunner.model.Distribution; import dev.lukebemish.taskgraphrunner.model.Input; import dev.lukebemish.taskgraphrunner.model.InputValue; +import dev.lukebemish.taskgraphrunner.model.MappingsSource; import dev.lukebemish.taskgraphrunner.model.Output; import dev.lukebemish.taskgraphrunner.model.PathSensitivity; import dev.lukebemish.taskgraphrunner.model.TaskModel; @@ -288,7 +289,7 @@ public static Config convert(Path neoFormConfig, Value selfReference, Options op jst.interfaceInjection = new Input.ParameterInput(options.injectedInterfacesParameter); } if (options.parchmentDataParameter != null) { - jst.parchmentData = new Input.ParameterInput(options.parchmentDataParameter); + jst.parchmentData = new MappingsSource.File(new Input.ParameterInput(options.parchmentDataParameter)); } config.tasks.add(jst);