mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 12:16:11 -05:00
fix
This commit is contained in:
parent
cc96872bd7
commit
1b806cf1c3
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ fn run_step(
|
|||
let timeout = std::time::Duration::from_secs(timeout_seconds as u64);
|
||||
let remaining_timeout = timeout
|
||||
.checked_sub(start_time.elapsed())
|
||||
.ok_or_else(|| panic!("Timed out after: {}s", timeout_seconds));
|
||||
.unwrap_or_else(|| panic!("Timed out after: {}s", timeout_seconds));
|
||||
command.timeout(remaining_timeout)
|
||||
}
|
||||
None => command,
|
||||
|
|
Loading…
Add table
Reference in a new issue