From 1bab9ad71521dc2df98d0f5271b05e8c48b103c7 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Sun, 2 Mar 2025 17:40:16 +0000 Subject: [PATCH] Apply auto-build changes --- .../CommunityFlowPlugins/tools/runCli/1.0.0/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/FlowPlugins/CommunityFlowPlugins/tools/runCli/1.0.0/index.js b/FlowPlugins/CommunityFlowPlugins/tools/runCli/1.0.0/index.js index fbb5a5b..9eaa666 100644 --- a/FlowPlugins/CommunityFlowPlugins/tools/runCli/1.0.0/index.js +++ b/FlowPlugins/CommunityFlowPlugins/tools/runCli/1.0.0/index.js @@ -209,7 +209,7 @@ var details = function () { return ({ exports.details = details; // eslint-disable-next-line @typescript-eslint/no-unused-vars var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function () { - var lib, userCli, useCustomCliPath, customCliPath, cliPath, outputFileBecomesWorkingFile, userOutputFilePath, cliArguments, cacheDir, fileName, cliArgs, availableCli, msg, cli, res, msg; + var lib, userCli, useCustomCliPath, customCliPath, cliPath, doesCommandCreateOutputFile, outputFileBecomesWorkingFile, userOutputFilePath, cliArguments, cacheDir, fileName, cliArgs, availableCli, msg, cli, res, msg; return __generator(this, function (_a) { switch (_a.label) { case 0: @@ -220,7 +220,11 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function useCustomCliPath = args.inputs.useCustomCliPath; customCliPath = String(args.inputs.customCliPath); cliPath = ''; + doesCommandCreateOutputFile = args.inputs.doesCommandCreateOutputFile; outputFileBecomesWorkingFile = args.inputs.outputFileBecomesWorkingFile; + if (!doesCommandCreateOutputFile) { + outputFileBecomesWorkingFile = false; + } userOutputFilePath = String(args.inputs.userOutputFilePath); cliArguments = String(args.inputs.cliArguments); // eslint-disable-next-line no-template-curly-in-string