mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Rename misused "deprecation" to removal (#10000)
# Description In the past we named the process of completely removing a command and providing a basic error message pointing to the new alternative "deprecation". But this doesn't match the expectation of most users that have seen deprecation _warnings_ that alert to either impending removal or discouraged use after a stability promise. # User-Facing Changes Command category changed from `deprecated` to `removed`
This commit is contained in:
committed by
GitHub
parent
0a5f41abc2
commit
435348aa61
@ -65,8 +65,8 @@ fn commands_declare_input_output_types() {
|
||||
let sig_name = cmd.signature().name;
|
||||
let category = cmd.signature().category;
|
||||
|
||||
if matches!(category, Category::Deprecated | Category::Custom(_)) {
|
||||
// Deprecated commands don't have to conform
|
||||
if matches!(category, Category::Removed | Category::Custom(_)) {
|
||||
// Deprecated/Removed commands don't have to conform
|
||||
// TODO: also upgrade the `--features dataframe` commands
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user