1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

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 {