forked from extern/nushell
Runnable contexts move. (#3283)
* Engine extract first steps. * Don't depend on ShellManager.
This commit is contained in:
committed by
GitHub
parent
09a1f5acb9
commit
2880109f31
@ -28,7 +28,7 @@ impl WholeStreamCommand for SubCommand {
|
||||
}
|
||||
|
||||
fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
|
||||
run_with_function(RunnableContext::from_command_args(args), average)
|
||||
run_with_function(args, average)
|
||||
}
|
||||
|
||||
fn examples(&self) -> Vec<Example> {
|
||||
|
Reference in New Issue
Block a user