mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:22:39 +00:00
craft-update: name std::time::Duration in the macOS test helper
This commit is contained in:
@@ -4336,7 +4336,7 @@ exit 0
|
||||
if output.status.success() || !String::from_utf8_lossy(&output.stderr).contains("Resource temporarily unavailable") {
|
||||
break;
|
||||
}
|
||||
std::thread::sleep(Duration::from_millis(wait_ms));
|
||||
std::thread::sleep(std::time::Duration::from_millis(wait_ms));
|
||||
output = std::process::Command::new("hdiutil").args(args).output().unwrap();
|
||||
}
|
||||
output
|
||||
|
||||
Reference in New Issue
Block a user