mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-12 13:48:06 +00:00
return error
This commit is contained in:
parent
b7b6988e76
commit
07cd3d4b8b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user