Skip to content

Commit

Permalink
return error
Browse files Browse the repository at this point in the history
  • Loading branch information
runzexia authored and mikefarah committed Jun 13, 2020
1 parent b7b6988 commit 07cd3d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/utils.go
Expand Up @@ -430,6 +430,8 @@ func readAndUpdate(stdOut io.Writer, inputFile string, updateData updateDataFn)
if err != nil {
return err
}
} else if err != nil {
return err
}
tempFile, err := ioutil.TempFile("", "temp")
if err != nil {
Expand Down

0 comments on commit 07cd3d4

Please sign in to comment.