Skip to content

Commit

Permalink
Merge pull request #650 from Financial-Times/fix-task-options
Browse files Browse the repository at this point in the history
Fix Task options not being unwrapped when returned from Zod
  • Loading branch information
ivomurrell committed Sep 5, 2024
2 parents 4db9fa2 + 60840a5 commit bfbdafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/cli/src/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const loadTasks = async (
logger,
taskId,
getOptions(entryPoint.plugin.id as OptionKey) ?? {},
parsedOptions
parsedOptions.data
)
return valid([taskId, task])
} else {
Expand Down

0 comments on commit bfbdafe

Please sign in to comment.