fix copy-paste error

This commit is contained in:
askiiart 2024-12-30 20:05:26 -06:00
parent 20abd83ae8
commit fe8b1cb74d
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30

View file

@ -59,7 +59,6 @@ impl CmdOutput {
return self.status;
}
/// Returns the duration the command ran for
pub fn duration(self) -> Duration {
return self.end_time.duration_since(self.start_time);
@ -111,7 +110,7 @@ pub fn run(command: &mut Command) -> CmdOutput {
stderr_tx
.send(Line {
content: line.unwrap(),
stdout: true,
stdout: false,
time: time,
})
.unwrap();