File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
site/src/components/WorkspaceBuildProgress Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,14 @@ const estimateFinish = (
50
50
const lowGuess = secondsLeft ( median )
51
51
const highGuess = secondsLeft ( median + stddev )
52
52
53
- // If variation is too high (and greater than second), don't show
54
- // progress bar and give range.
55
- const highVariation = stddev / median > 0.1 && highGuess - lowGuess > 1
56
-
57
53
const anyMomentNow : [ number | undefined , string ] = [
58
54
undefined ,
59
55
"Any moment now..." ,
60
56
]
61
57
58
+ // If variation is too high (and greater than second), don't show
59
+ // progress bar and give range.
60
+ const highVariation = stddev / median > 0.1 && highGuess - lowGuess > 1
62
61
if ( highVariation ) {
63
62
if ( highGuess <= 0 ) {
64
63
return anyMomentNow
You can’t perform that action at this time.
0 commit comments