Skip to content

Commit

Permalink
fix: use the dryRun value
Browse files Browse the repository at this point in the history
currently we were passing dryRun as true even if it was explicitly set as false
[EMA-4088]
  • Loading branch information
jetmirhalili11 committed Jul 23, 2024
1 parent 17cfdc3 commit 4a63c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content-cli-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class Import {
.option("-p, --profile <profile>", "Profile which you want to use to import Action Flows")
.requiredOption("-i, --packageId <packageId>", "ID of the package to which you want to export Action Flows")
.requiredOption("-f, --file <file>", "Exported Action Flows file (relative path)")
.requiredOption("-d, --dryRun", "Execute the import on dry run mode")
.requiredOption("-d, --dryRun <dryRun>", "Execute the import on dry run mode")
.option("-o, --outputToJsonFile", "Output the import result in a JSON file")
.action(async cmd => {
await new ActionFlowCommand().importActionFlows(cmd.packageId, cmd.file, cmd.dryRun, cmd.outputToJsonFile);
Expand Down

0 comments on commit 4a63c93

Please sign in to comment.