Skip to content

Commit

Permalink
fixed issue in function + bumped version
Browse files Browse the repository at this point in the history
.
  • Loading branch information
hevans-dglcom committed Jun 12, 2023
1 parent 54529e3 commit 8d90c1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parfuemerie-douglas/scaffolder-backend-module-azure-pipelines",
"version": "0.4.5-next.0",
"version": "1.0.0-next.1",
"description": "A collection of Backstage scaffolder backend modules for Azure pipelines.",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/actions/run/runAzurePipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const runAzurePipelineAction = (options: {
} else if (status === "inProgress" || status === "notStarted") {
// If the pipeline is still running, wait 10 seconds and check again.
await new Promise((resolve) => setTimeout(resolve, 10000));
return checkPipelineStatus(organization, project, runId, token);
return checkPipelineStatus(host, organization, project, runId, token);
} else {
throw new Error(`Azure pipeline failed with status: ${status}.`);
}
Expand Down

0 comments on commit 8d90c1a

Please sign in to comment.