diff --git a/internal/pkg/commons/utils.go b/internal/pkg/commons/utils.go index 8f09a56..4e67924 100644 --- a/internal/pkg/commons/utils.go +++ b/internal/pkg/commons/utils.go @@ -281,6 +281,7 @@ func readFromFile(filePath string) ([]byte, error) { } data := bytes.TrimSuffix(dataBytes, []byte("\n")) + data = bytes.ReplaceAll(data, []byte("\r"), []byte("")) return data, nil }