We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e927736 commit 75a6dddCopy full SHA for 75a6ddd
1 file changed
pkg/github/repositories.go
@@ -604,6 +604,7 @@ func GetFileContents(getClient GetClientFn, getRawClient raw.GetRawClientFn, t t
604
// Determine if content is text or binary
605
isTextContent := strings.HasPrefix(contentType, "text/") ||
606
contentType == "application/json" ||
607
+ contentType == "application/xml" ||
608
strings.HasSuffix(contentType, "+json") ||
609
strings.HasSuffix(contentType, "+xml")
610
0 commit comments