Move to a standard kebab/snake style (#4509)

This commit is contained in:
JT
2022-02-17 09:55:17 -05:00
committed by GitHub
parent d50ccdf083
commit f5f9d56c37
25 changed files with 56 additions and 56 deletions

View File

@ -172,7 +172,7 @@ fn eval_external(
last_expression: bool,
) -> Result<PipelineData, ShellError> {
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);
@ -188,7 +188,7 @@ fn eval_external(
if last_expression {
call.named.push((
Spanned {
item: "last_expression".into(),
item: "last-expression".into(),
span: head.span,
},
None,