Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/dbt/cli/DbtCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ public void accept(String line, Boolean isStdErr) {

//Create and run commands
List<String> commandsArgs = ScriptService.scriptCommands(
this.interpreter,
runContext.render(this.interpreter).asList(String.class),
this.getBeforeCommandsWithOptions(runContext),
runContext.render(this.commands).stream().map(command -> command.startsWith("dbt") ? command.concat(" --log-format json") : command).toList()
);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/dbt/cli/Setup.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public ScriptOutput run(RunContext runContext) throws Exception {
);

List<String> commandsArgs = ScriptService.scriptCommands(
this.interpreter,
runContext.render(this.interpreter).asList(String.class),
this.getBeforeCommandsWithOptions(runContext),
commands
);
Expand Down
Loading