Commit e223c1d
authored
🤖 fix: bash tool elapsed time always shows seconds (#979)
The shared `formatDuration` function introduced in e954200 can display
minutes/hours for long-running processes, but the elapsed time counter
shown next to the timeout should always use seconds for consistency.
The timeout is always in seconds (e.g., `timeout: 3s`), so the live
elapsed counter should match (e.g., `3s`, not `3m` after 180 seconds).
The completed "took" result still uses `formatDuration` since
human-readable durations make sense for finished tasks.
cc @ethanndickson
_Generated with `mux`_1 parent 92010b0 commit e223c1d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments