Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed Jan 12, 2024
1 parent d1cb8b0 commit 9b7ed08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/command/if.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct IfCommand {

impl Command for IfCommand {
fn exec(&mut self, _: &mut ShellCore, _: &mut Pipe) -> Option<Pid> {None}
fn run_command(&mut self, _: &mut ShellCore, _: bool) {}
fn run(&mut self, _: &mut ShellCore, _: bool) {}
fn get_text(&self) -> String { self.text.clone() }
fn get_redirects(&mut self) -> &mut Vec<Redirect> { &mut self.redirects }
fn set_force_fork(&mut self) { self.force_fork = true; }
Expand Down

0 comments on commit 9b7ed08

Please sign in to comment.