Skip to content

Commit 7cfe50b

Browse files
committed
fix(tests): make docker command ExitStatusExt portable
1 parent f33803e commit 7cfe50b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • crates/rexos-tools/src/ops/process/exec/docker/command

crates/rexos-tools/src/ops/process/exec/docker/command/tests.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
#[cfg(unix)]
12
use std::os::unix::process::ExitStatusExt;
23

4+
#[cfg(windows)]
5+
use std::os::windows::process::ExitStatusExt;
6+
37
use super::output::docker_exec_result;
48

59
#[test]

0 commit comments

Comments
 (0)