From 7ca49e5e48b0ad34d6812a61c510d9b86a8e3197 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Sun, 2 Mar 2025 17:38:22 +0000 Subject: [PATCH] fix: outputFileBecomesWorkingFile logic when doesCommandCreateOutputFile set false --- .../CommunityFlowPlugins/tools/runCli/1.0.0/index.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/FlowPluginsTs/CommunityFlowPlugins/tools/runCli/1.0.0/index.ts b/FlowPluginsTs/CommunityFlowPlugins/tools/runCli/1.0.0/index.ts index cd2e051..7f5ceb6 100644 --- a/FlowPluginsTs/CommunityFlowPlugins/tools/runCli/1.0.0/index.ts +++ b/FlowPluginsTs/CommunityFlowPlugins/tools/runCli/1.0.0/index.ts @@ -196,9 +196,13 @@ const plugin = async (args: IpluginInputArgs): Promise => { const customCliPath = String(args.inputs.customCliPath); let cliPath = ''; - const { - outputFileBecomesWorkingFile, - } = args.inputs; + const { doesCommandCreateOutputFile } = args.inputs; + let { outputFileBecomesWorkingFile } = args.inputs; + + if (!doesCommandCreateOutputFile) { + outputFileBecomesWorkingFile = false; + } + let userOutputFilePath = String(args.inputs.userOutputFilePath); let cliArguments = String(args.inputs.cliArguments);