Merge pull request #789 from HaveAGitGat/cli_fix

fix: outputFileBecomesWorkingFile logic when doesCommandCreateOutputF…
master
HaveAGitGat 9 months ago committed by GitHub
commit 047521be2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -133,6 +133,11 @@ var details = function () { return ({
defaultValue: 'true',
inputUI: {
type: 'switch',
onSelect: {
false: {
outputFileBecomesWorkingFile: 'false',
},
},
},
tooltip: 'Toggle this on if the command creates an output file.',
},

@ -91,6 +91,11 @@ const details = (): IpluginDetails => ({
defaultValue: 'true',
inputUI: {
type: 'switch',
onSelect: {
false: {
outputFileBecomesWorkingFile: 'false',
},
},
},
tooltip:
'Toggle this on if the command creates an output file.',
@ -199,6 +204,7 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
const {
outputFileBecomesWorkingFile,
} = args.inputs;
let userOutputFilePath = String(args.inputs.userOutputFilePath);
let cliArguments = String(args.inputs.cliArguments);

Loading…
Cancel
Save