Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(stats): don't require all fields under [stats] (#1437)
Before this change, when configuring only `common_subcommands` and not `common_prefix` (so it would take its default value), atuin produces an error message: ``` Error: could not load client settings Caused by: failed to deserialize: missing field `common_prefix` Location: atuin-client/src/settings.rs:456:26 Error: could not load client settings Caused by: failed to deserialize: missing field `common_prefix` Location: atuin-client/src/settings.rs:456:26 Error:: command not found ``` With this change, the fields can be specified separately and missing fields will take their default values.
- Loading branch information
edc4958
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
atuin-docs – ./
atuin-docs-atuin.vercel.app
atuin-docs.vercel.app
atuin-docs-git-main-atuin.vercel.app