aboutsummaryrefslogtreecommitdiff
path: root/src/commandline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commandline.rs')
-rw-r--r--src/commandline.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/commandline.rs b/src/commandline.rs
index 489eaa8..0737b75 100644
--- a/src/commandline.rs
+++ b/src/commandline.rs
@@ -17,7 +17,11 @@ impl CommandLine {
CommandLine(split(line))
}
- pub fn run(&self,home: &PathBuf, mut status: Option<ExitStatus>) -> Result<Option<ExitStatus>, Error> {
+ pub fn run(
+ &self,
+ home: &PathBuf,
+ mut status: Option<ExitStatus>,
+ ) -> Result<Option<ExitStatus>, Error> {
for cmd in &self.0 {
if cmd.when.can_run(&status) {
match cmd.run(&home, &status)? {