mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-01 14:14:52 +08:00
return error
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user