Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow multiple instances of task with different options #678

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

apaleslimghost
Copy link
Member

loadTasks returned a Record<string, Task>, meaning that a command with multiple instances of the same task would just load the last created instance (with the last specified options), meaning tasks couldn't be called multiple times with different options.

@apaleslimghost apaleslimghost requested a review from a team as a code owner July 29, 2024 10:57
@apaleslimghost apaleslimghost force-pushed the multiple-task-instances branch from b4f7dab to 22c8855 Compare July 29, 2024 11:01
@apaleslimghost apaleslimghost merged commit 813f66c into next Jul 29, 2024
14 checks passed
@apaleslimghost apaleslimghost deleted the multiple-task-instances branch July 29, 2024 11:18
ivomurrell pushed a commit that referenced this pull request Sep 5, 2024
fix: allow multiple instances of task with different options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants