mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 10:13:13 +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:
@ -392,13 +392,13 @@ impl Command for Nu {
|
||||
.named(
|
||||
"plugin-config",
|
||||
SyntaxShape::Filepath,
|
||||
"start with an alternate plugin cache file",
|
||||
"start with an alternate plugin registry file",
|
||||
None,
|
||||
)
|
||||
.named(
|
||||
"plugins",
|
||||
SyntaxShape::List(Box::new(SyntaxShape::Filepath)),
|
||||
"list of plugin executable files to load, separately from the cache file",
|
||||
"list of plugin executable files to load, separately from the registry file",
|
||||
None,
|
||||
)
|
||||
}
|
||||
|
@ -598,7 +598,7 @@ register $file
|
||||
fn plugin_use_with_string_literal() -> TestResult {
|
||||
fail_test(
|
||||
r#"plugin use 'nu-plugin-math'"#,
|
||||
"Plugin cache file not set",
|
||||
"Plugin registry file not set",
|
||||
)
|
||||
}
|
||||
|
||||
@ -609,7 +609,7 @@ const file = 'nu-plugin-math'
|
||||
plugin use $file
|
||||
";
|
||||
// should not fail with `not a constant`
|
||||
fail_test(input, "Plugin cache file not set")
|
||||
fail_test(input, "Plugin registry file not set")
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user