fix typo
This commit is contained in:
parent
8030cf16ca
commit
a9043e3c5b
|
@ -123,7 +123,7 @@ impl super::Extension for ShellExtension {
|
||||||
fn calculate(&self, params: &Mapping, args: &Vec<String>) -> Option<String> {
|
fn calculate(&self, params: &Mapping, args: &Vec<String>) -> Option<String> {
|
||||||
let cmd = params.get(&Value::from("cmd"));
|
let cmd = params.get(&Value::from("cmd"));
|
||||||
if cmd.is_none() {
|
if cmd.is_none() {
|
||||||
warn!("No 'cmd' parameter specified for shell `iable");
|
warn!("No 'cmd' parameter specified for shell variable");
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
let cmd = cmd.unwrap().as_str().unwrap();
|
let cmd = cmd.unwrap().as_str().unwrap();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user