From 59f939e25ce5833955c61e8c58af394c54cf93b8 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Tue, 29 Sep 2020 12:35:11 -0400 Subject: chore: update v0.45.0 removal notice (#1687) * chore: update deprecation notice * Add deprecation page to sidebar * Replace the use of "deprected" with "removed" --- src/config.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/config.rs') 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) } -- cgit v1.2.3