@docupace/pipeline 1.0.6-alpha.4 → 1.0.6-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/next/cli.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.6-alpha.4",
3
+ "version": "1.0.6-alpha.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/next/cli.js CHANGED
@@ -116,10 +116,10 @@ program
116
116
  .option('-w, --wait', 'Wait for the pipeline to complete', false) // Defaults to false
117
117
  .action(async (cmdObj) => {
118
118
  try {
119
- const { repository, pipelineName, branch, variables } = cmdObj;
119
+ const { repository, pipelineName, branch, variables, wait } = cmdObj;
120
120
 
121
121
  // Call the triggerPipelineByName function
122
- await runPipeline(repository, pipelineName, branch, variables);
122
+ await runPipeline(repository, pipelineName, branch, variables, wait);
123
123
  } catch (error) {
124
124
  console.error('Error triggering pipeline:', error.message);
125
125
  process.exit(1);