这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix channel closing on errors #557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/cmd/turbo/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package main

const turboVersion = "1.0.26"
const turboVersion = "1.0.27"
3 changes: 1 addition & 2 deletions cli/internal/run/run_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (r *RunState) add(result *RunResult, previous string, active bool) {
case result.Status == TargetBuildFailed:
r.Failure++
r.Attempted++
if r.runOptions.bail {
if r.runOptions.bail && !r.runOptions.stream {
r.done <- result.Label
}
case result.Status == TargetCached:
Expand Down Expand Up @@ -284,7 +284,6 @@ func (r *RunState) Close(Ui cli.Ui, startAt time.Time, filename string) error {
r.ticker.Stop()
r.done <- "done"
}

maybeFullTurbo := ""
if r.Cached == r.Attempted {
maybeFullTurbo = ui.Rainbow(">>> FULL TURBO")
Expand Down
2 changes: 1 addition & 1 deletion cli/version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1.0.26
1.0.27
latest