Skip to content

Commit d177392

Browse files
committed
Switch to StdEncoding, as it was originally
1 parent 14811ed commit d177392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/repository_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func RepositoryResourceContentsHandler(getClient GetClientFn, getRawClient raw.G
186186
}, nil
187187
default:
188188
var buf bytes.Buffer
189-
base64Encoder := base64.NewEncoder(base64.RawStdEncoding, &buf)
189+
base64Encoder := base64.NewEncoder(base64.StdEncoding, &buf)
190190
_, err := base64Encoder.Write(content)
191191
if err != nil {
192192
return nil, fmt.Errorf("failed to base64 encode content: %w", err)

0 commit comments

Comments
 (0)