Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
noelzubin committed Dec 3, 2021
1 parent 3944d7f commit c77fb17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40592,9 +40592,7 @@ const main = async () => {
core.setOutput("task-arn", taskArn);

core.debug("Waiting for task to finish...");
await ecs
.waitFor("tasksStopped", { cluster: "staging", tasks: [taskArn] })
.promise();
await ecs.waitFor("tasksStopped", { cluster, tasks: [taskArn] }).promise();

core.debug("Checking status of task");
task = await ecs.describeTasks({ cluster, tasks: [taskArn] }).promise();
Expand Down
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ const main = async () => {
core.setOutput("task-arn", taskArn);

core.debug("Waiting for task to finish...");
await ecs
.waitFor("tasksStopped", { cluster: "staging", tasks: [taskArn] })
.promise();
await ecs.waitFor("tasksStopped", { cluster, tasks: [taskArn] }).promise();

core.debug("Checking status of task");
task = await ecs.describeTasks({ cluster, tasks: [taskArn] }).promise();
Expand Down

0 comments on commit c77fb17

Please sign in to comment.