-
-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: panic when setting config value (#3823)
- Loading branch information
Showing
2 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo '[tools.node] | ||
version = "latest"' >mise.toml | ||
|
||
assert "cat mise.toml" '[tools.node] | ||
version = "latest"' | ||
|
||
mise config set tools.node.postinstall 'corepack enable' | ||
assert "mise config get tools.node.postinstall" "corepack enable" | ||
assert "mise config get tools.node.version" "latest" | ||
mise config set env._.python.venv.path '.venv' | ||
assert "mise config get env._.python.venv.path" ".venv" | ||
mise config set env._.python.venv.create true | ||
assert "mise config get env._.python.venv.create" "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters