mirror of
https://github.com/nushell/nushell.git
synced 2025-07-07 18:07:02 +02:00
Rename plugin cache file ⇒ plugin registry file (#12634)
# Description So far this seems like the winner of my poll on what the name should be. I'll take this off draft once the poll expires, if this is indeed the winner.
This commit is contained in:
@ -750,18 +750,18 @@ pub enum ShellError {
|
||||
span: Span,
|
||||
},
|
||||
|
||||
/// The cached plugin data for a plugin is invalid.
|
||||
/// The registered plugin data for a plugin is invalid.
|
||||
///
|
||||
/// ## Resolution
|
||||
///
|
||||
/// `plugin add` the plugin again to update the data, or remove it with `plugin rm`.
|
||||
#[error("The cached plugin data for `{plugin_name}` is invalid")]
|
||||
#[diagnostic(code(nu::shell::plugin_cache_data_invalid))]
|
||||
PluginCacheDataInvalid {
|
||||
#[error("The registered plugin data for `{plugin_name}` is invalid")]
|
||||
#[diagnostic(code(nu::shell::plugin_registry_data_invalid))]
|
||||
PluginRegistryDataInvalid {
|
||||
plugin_name: String,
|
||||
#[label("plugin `{plugin_name}` loaded here")]
|
||||
span: Option<Span>,
|
||||
#[help("the format in the plugin cache file is not compatible with this version of Nushell.\n\nTry adding the plugin again with `{}`")]
|
||||
#[help("the format in the plugin registry file is not compatible with this version of Nushell.\n\nTry adding the plugin again with `{}`")]
|
||||
add_command: String,
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user