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

Amonks/shellcheck #124

Merged
merged 3 commits into from
Apr 5, 2024
Merged

Amonks/shellcheck #124

merged 3 commits into from
Apr 5, 2024

Conversation

amonks
Copy link
Owner

@amonks amonks commented Apr 5, 2024

No description provided.

@amonks amonks force-pushed the amonks/shellcheck branch 2 times, most recently from 126e830 to 804461d Compare April 5, 2024 03:19
amonks added 3 commits April 4, 2024 22:21
Before f48d166, tasks were kept in a
map, so ingesting the same task more than once simply rewrote the map
key, and was a no-op.

After, tasks are kept in a composite data structure that includes a
list, so adding the same task more than once caused it to be included
more than once in the list.
taskfile ingestion put tasks in order, which was enough to make `run
-list` appear correct, but then when run_task picked the subset for a
given run to put in the sidebar, it put them out-of-order again.

I've now verified that the tasks appear in the correct order in the
sidebar. I ought to write a test for this, but I don't feel like it.

fixes #123
@amonks amonks force-pushed the amonks/shellcheck branch from 804461d to 9b13ed0 Compare April 5, 2024 03:21
@amonks amonks enabled auto-merge (rebase) April 5, 2024 03:21
@amonks amonks merged commit fb9ac7c into main Apr 5, 2024
1 check passed
@amonks amonks deleted the amonks/shellcheck branch April 5, 2024 03:22
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.

1 participant