We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c76b286 commit e863e8bCopy full SHA for e863e8b
src/git.ts
@@ -5,6 +5,8 @@ export const getPrBranchName = (
5
giteaMajorMinorVersion: string,
6
) => `backport-${prNumber}-v${giteaMajorMinorVersion}`;
7
8
+const decoder = new TextDecoder();
9
+
10
export const initializeGitRepo = async (user: string, email: string | null) => {
11
await cmd.run("git", {
12
args: [
@@ -76,7 +78,11 @@ export const cherryPickPr = async (
76
78
});
77
79
80
if (!success) {
- console.error(`Cherry-pick failed:\n${stdout}\n${stderr}`.trim());
81
+ console.error(
82
+ `Cherry-pick failed:\n${decoder.decode(stdout)}\n${
83
+ decoder.decode(stderr)
84
+ }`.trim(),
85
+ );
86
87
cwd: "gitea",
88
args: ["cherry-pick", "--abort"],
0 commit comments