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

feat: replacing task output type #3764

Merged
merged 2 commits into from
Dec 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: release 2024.12.16 (#3720)
  • Loading branch information
mise-en-dev authored and jdx committed Dec 21, 2024
commit 183fe5cccb442ca373b8bfb7ad581d2d90afd3ed
12 changes: 12 additions & 0 deletions src/cli/config/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,23 @@ impl ConfigSet {
let mut container = config.as_item_mut();
let parts = self.key.split('.').collect::<Vec<&str>>();
for key in parts.iter().take(parts.len() - 1) {
<<<<<<< HEAD
container = container.as_table_mut().unwrap().entry(key).or_insert({
let mut t = toml_edit::Table::new();
t.set_implicit(true);
toml_edit::Item::Table(t)
});
=======
container = container
.as_table_mut()
.unwrap()
.entry(key)
.or_insert({
let mut t = toml_edit::Table::new();
t.set_implicit(true);
toml_edit::Item::Table(t)
});
>>>>>>> 01bd9dbb2 (fix: use implicit keys for `mise config set`)
}
let last_key = parts.last().unwrap();

Expand Down