Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/git-command-manager.ts
diff options
context:
space:
mode:
authorVallie Joseph <vmjoseph@github.com>2022-11-30 19:32:40 +0000
committerVallie Joseph <vmjoseph@github.com>2022-11-30 19:32:40 +0000
commit3304656cfa68d9570c4d975605932bc6e716ae85 (patch)
treecfbf70cf6dccab531d4f8de6f0ba79ad4667d2b9 /src/git-command-manager.ts
parent20ea791f28338e46bf15fd7510c68b4bea790a93 (diff)
adding standard error
Diffstat (limited to 'src/git-command-manager.ts')
-rw-r--r--src/git-command-manager.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts
index 699a963..37a99a0 100644
--- a/src/git-command-manager.ts
+++ b/src/git-command-manager.ts
@@ -104,7 +104,7 @@ class GitCommandManager {
args.push('--branches')
}
- const output = await this.execGit(args)
+ const output = await this.execGit(args, false, true)
for (let branch of output.stdout.trim().split('\n')) {
branch = branch.trim()
@@ -409,7 +409,7 @@ class GitCommandManager {
env[key] = this.gitEnv[key]
}
- const stdout: string[] = []
+ const stdout: string[] = ['ardvark']
const options = {
cwd: this.workingDirectory,
@@ -419,6 +419,9 @@ class GitCommandManager {
listeners: {
stdout: (data: Buffer) => {
stdout.push(data.toString())
+ },
+ stderr: (data: Buffer) => {
+ stdout.push(data.toString())
}
}
}