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

tasks: fix config_root path #1477

Merged
merged 1 commit into from
Jan 17, 2024
Merged

tasks: fix config_root path #1477

merged 1 commit into from
Jan 17, 2024

Conversation

jdx
Copy link
Owner

@jdx jdx commented Jan 17, 2024

Fixes #1469

dir if dir.ends_with(".config/mise/tasks") => dir.parent().unwrap().parent().unwrap(),
dir if dir.ends_with(".mise/tasks") => dir.parent().unwrap().parent().unwrap(),
dir if dir.ends_with(".config/mise/tasks") => {
dir.parent().unwrap().parent().unwrap().parent().unwrap()
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super ugly but I don't know a cleaner way

@jdx jdx changed the title fix config_root path tasks: fix config_root path Jan 17, 2024
@jdx jdx merged commit 205e43a into main Jan 17, 2024
9 checks passed
@jdx jdx deleted the config-root branch January 17, 2024 21: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.

Script tasks fail when dir includes templates
1 participant