aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/global_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/command/global_command.rs')
-rw-r--r--crates/shirabe/src/command/global_command.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/shirabe/src/command/global_command.rs b/crates/shirabe/src/command/global_command.rs
index fa52adc..f066721 100644
--- a/crates/shirabe/src/command/global_command.rs
+++ b/crates/shirabe/src/command/global_command.rs
@@ -76,13 +76,11 @@ impl GlobalCommand {
return self.run(input, output);
}
- // TODO(phase-b): sub_input/output need to be &mut for Application::run; placeholder marks.
- let mut sub_input = self.prepare_subcommand_input(input, false)?;
+ let sub_input = self.prepare_subcommand_input(input, false)?;
let mut app = self.get_application()?;
- let _ = output;
Ok(app.run(
Some(std::rc::Rc::new(std::cell::RefCell::new(sub_input))),
- None,
+ Some(output),
)?)
}