mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 15:25:06 +02:00
Move to a standard kebab/snake style (#4509)
This commit is contained in:
@ -48,7 +48,7 @@ impl Command for KnownExternal {
|
||||
match external_call.expr {
|
||||
Expr::ExternalCall(head, args) => {
|
||||
let decl_id = engine_state
|
||||
.find_decl("run_external".as_bytes())
|
||||
.find_decl("run-external".as_bytes())
|
||||
.ok_or(ShellError::ExternalNotSupported(head.span))?;
|
||||
|
||||
let command = engine_state.get_decl(decl_id);
|
||||
@ -64,7 +64,7 @@ impl Command for KnownExternal {
|
||||
// if last_expression {
|
||||
// call.named.push((
|
||||
// Spanned {
|
||||
// item: "last_expression".into(),
|
||||
// item: "last-expression".into(),
|
||||
// span: head.span,
|
||||
// },
|
||||
// None,
|
||||
|
Reference in New Issue
Block a user