Panic when setting config value #3820
Replies: 2 comments 2 replies
-
It seems that the I drafted a rough patch at #3823 |
Beta Was this translation helpful? Give feedback.
-
It seems to also happen if the key exists elsewhere. I have the same issue with: [env]
_.python.venv = { path = ".venv", create = true } when I execute: mise config set env._.python.venv.path .venv It works if I change [env._.python.venv]
path = ".venv"
create = true |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Trying to set a config value as per the documentation results in a panic:
To Reproduce
mise u node@lts
mise config set tools.node.postinstall 'corepack enable'
Expected behavior
Mise should not panic. If a tool has been installed where a key is set to a string indicating the version (such as
node = "lts"
) it should rewrite it automatically to the expanded outputnode = { version = 'lts' }
mise doctor
outputAdditional context
Beta Was this translation helpful? Give feedback.
All reactions