Move 'start' to use ShellError (#1743)

* Move 'start' to use ShellError

* Remove unnecessary changes

* Add missing macOS change

* Add default

* More fixed

* More fixed
This commit is contained in:
Jonathan Turner
2020-05-10 08:08:53 +12:00
committed by GitHub
parent ccd5d69fd1
commit 0f0847e45b
6 changed files with 115 additions and 103 deletions

View File

@@ -2,8 +2,5 @@ use nu_plugin::serve_plugin;
use nu_plugin_start::Start;
fn main() {
serve_plugin(&mut Start {
filenames: vec![],
application: None,
});
serve_plugin(&mut Start::new());
}