Skip to content

Commit 14da61b

Browse files
Fix whitespace
1 parent 0ef7693 commit 14da61b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/deploy_task.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ impl Runnable for DeployTask {
4949
};
5050
logfile.write_all(b"\ntask running...\n");
5151

52+
// Log the current user
53+
logfile.write_all(format!("system user: {}\n\n", users::get_current_username().unwrap_or("<none>".to_owned())).as_bytes());
54+
5255
// Log the hookshot environment variables
53-
logfile.write_all(format!("hookshot environment:\n---------------------\n {}\n", format_environment(&self.env)).as_bytes());
56+
logfile.write_all(format!("hookshot environment:\n---------------------\n{}\n", format_environment(&self.env)).as_bytes());
5457

5558
// Log the system environment variables
56-
logfile.write_all(format!("system environment:\n------------------\n {}\n", format_os_environment()).as_bytes());
57-
58-
// Log the current user
59-
logfile.write_all(format!("user: {}\n\n", users::get_current_username().unwrap_or("<none>".to_owned())).as_bytes());
59+
logfile.write_all(format!("system environment:\n------------------\n{}\n", format_os_environment()).as_bytes());
6060

6161
// Log what time the task started.
6262
let time_task_started = UTC::now();

0 commit comments

Comments
 (0)