Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
fix: deal with possible error
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Sep 23, 2018
1 parent 443b59c commit c889ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -101,5 +101,5 @@ func list() {
for _, b := range projects {
fmt.Fprintf(w, "%s\t%s\n", folder.ToURL(b), filepath.Join(home, b))
}
w.Flush()
app.FatalIfError(w.Flush(), "failed to flush")
}

0 comments on commit c889ed1

Please sign in to comment.