diff options
author | Matan Kushner <hello@matchai.dev> | 2020-09-29 12:35:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 12:35:11 -0400 |
commit | 59f939e25ce5833955c61e8c58af394c54cf93b8 (patch) | |
tree | 90b023b19c72bf3ba840472ff05b7d487984d180 /src | |
parent | cb4d7d1908e1f9a3d0887b4912ac5d8d6523fd41 (diff) |
chore: update v0.45.0 removal notice (#1687)
* chore: update deprecation notice
* Add deprecation page to sidebar
* Replace the use of "deprected" with "removed"
Diffstat (limited to 'src')
-rw-r--r-- | src/config.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index e6d3a4d4e..c781e9035 100644 --- a/src/config.rs +++ b/src/config.rs @@ -20,6 +20,9 @@ where /// Load root module config from given Value and fill unset variables with default /// values. fn load(config: &'a Value) -> Self { + if config.get("prompt_order").is_some() { + log::warn!("\"prompt_order\" has been removed in favor of \"format\". For more details, see: https://starship.rs/migrating-to-0.45.0/") + } Self::new().load_config(config) } |