1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2024-12-23 12:36:00 +01:00

adding stderr

This commit is contained in:
Vallie Joseph 2022-11-30 20:41:41 +00:00
parent 9684017cd6
commit f1764260c3
2 changed files with 6 additions and 0 deletions

3
dist/index.js vendored
View file

@ -7403,6 +7403,9 @@ class GitCommandManager {
const listeners = {
stderr: (data) => {
stderr.push(data.toString());
},
errline: (line) => {
stderr.push(line);
}
};
const output = yield this.execGit(args, false, false, listeners);

View file

@ -108,6 +108,9 @@ class GitCommandManager {
const listeners = {
stderr: (data: Buffer) => {
stderr.push(data.toString())
},
errline: (line: string) => {
stderr.push(line)
}
}
const output = await this.execGit(args, false, false, listeners)