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: resolve setup --clean panic #1882

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

tlinford
Copy link
Contributor

fix #1854

Do not use Config::default(), since default() has empty plugins config and that does not work with the default layout.
Use Config::try_from() instead, since it already handles the clean flag.
Also, do not check the clean flag twice.

default() has empty plugins and does not work with default layout.
Use Config::try_from() instead, since it already handles the clean flag.
Do not check clean flag twice.
@tlinford tlinford temporarily deployed to cachix October 30, 2022 19:59 Inactive
@tlinford tlinford merged commit ea86b2f into zellij-org:main Oct 31, 2022
@tlinford tlinford deleted the fix/setup-clean-panic branch October 31, 2022 15:37
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.

zellij setup --clean panics on 0.32.0
1 participant