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

Convert included string-form tasks #159

Merged
merged 2 commits into from
Aug 5, 2023

Conversation

rjaduthie
Copy link
Contributor

@rjaduthie rjaduthie commented Jul 26, 2023

Ensure that the tasks are in the dict-form before trying to assign a "cwd" to the definition.

This is related to issue #158

Sorry no tests for it yet. I'll come back and add those, if you think this fix is worthwhile.

Ensure that the tasks are in the dict-form before trying to
assign a "cwd" to the definition.
@nat-n nat-n added the bug Something isn't working label Aug 5, 2023
@nat-n nat-n force-pushed the issue-158-include-in-lined-tasks branch from b59abae to 0665995 Compare August 5, 2023 18:54
@nat-n
Copy link
Owner

nat-n commented Aug 5, 2023

Hi @rjaduthie, thanks for reporting this bug and proposing a fix.

As you can see I amended your changes to add a failing test and a small refactor to enable a more comprehensive fix. The issue being that normally the default task type (for a task defined as a string) depends on the configured default_task_type, and I wanted to be consistent with this logic. Incidentally I just realised this detail is missing from the docs since I launched the new docs website 😮.

This fix will be included in the next release.

@nat-n nat-n changed the base branch from main to development August 5, 2023 19:05
@nat-n nat-n merged commit 02c515d into nat-n:development Aug 5, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants