Commit a8a5f1d0
a8a5f1d03951Merged
Dmitrii Zhiliaev <[email protected]> ยท 11 months ago ยท 1 file ยท ~1 modified
Description
fix: Update pkg/template/extra.go
Co-authored-by: Copilot [email protected]
Details
- Commit
- a8a5f1d03951
- Parent
- d16b2cefccba
pkg/template/extra.gomodifiedView file
@@ -65,7 +65,7 @@
6565
var v any6666
err := d.Decode(&v)6767
if err != nil {68-
if err.Error() == "EOF" {68+
if errors.Is(err, io.EOF) {6969
break7070
}7171
return nil, fmt.Errorf("failed to unmarshal YAML document: %w", err)