Skip to content

Commit

Permalink
Improve debug
Browse files Browse the repository at this point in the history
  • Loading branch information
callms committed May 12, 2021
1 parent becd2c0 commit 04f5f8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ async function shouldMoveTaskToTest({ taskId, pullRequest }) {
);
return false;
}

return true;
}
}

Expand Down Expand Up @@ -200,7 +202,7 @@ exports.action = async function action() {
},
};

if (shouldMoveTaskToTest({ taskId, pullRequest })) {
if (await shouldMoveTaskToTest({ taskId, pullRequest })) {
console.log(`Moving Asana task to “to test” and remove assignments`);
await moveTaskToProjectSection({
taskId,
Expand Down

0 comments on commit 04f5f8e

Please sign in to comment.