Skip to content

Commit

Permalink
Fix undefined string in output
Browse files Browse the repository at this point in the history
Use project name found in task object
  • Loading branch information
fenech committed Sep 19, 2023
1 parent e4bc0df commit 302081a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function moveSection(client, taskId, targets) {
return client.sections
.addTask(targetSection.gid, { task: taskId })
.then(() =>
core.info(`Moved to: ${target.project}/${target.section}`)
core.info(`Moved to: ${targetProject.name}/${target.section}`)
);
} else {
core.error(`Asana section ${target.section} not found.`);
Expand Down

0 comments on commit 302081a

Please sign in to comment.