return error

This commit is contained in:
RyderXia 2020-06-12 17:42:21 +08:00 committed by Mike Farah
parent b7b6988e76
commit 07cd3d4b8b

View File

@ -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 {