mirror of https://github.com/actions/checkout.git
adding stderr
This commit is contained in:
parent
9684017cd6
commit
f1764260c3
|
@ -7403,6 +7403,9 @@ class GitCommandManager {
|
||||||
const listeners = {
|
const listeners = {
|
||||||
stderr: (data) => {
|
stderr: (data) => {
|
||||||
stderr.push(data.toString());
|
stderr.push(data.toString());
|
||||||
|
},
|
||||||
|
errline: (line) => {
|
||||||
|
stderr.push(line);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const output = yield this.execGit(args, false, false, listeners);
|
const output = yield this.execGit(args, false, false, listeners);
|
||||||
|
|
|
@ -108,6 +108,9 @@ class GitCommandManager {
|
||||||
const listeners = {
|
const listeners = {
|
||||||
stderr: (data: Buffer) => {
|
stderr: (data: Buffer) => {
|
||||||
stderr.push(data.toString())
|
stderr.push(data.toString())
|
||||||
|
},
|
||||||
|
errline: (line: string) => {
|
||||||
|
stderr.push(line)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const output = await this.execGit(args, false, false, listeners)
|
const output = await this.execGit(args, false, false, listeners)
|
||||||
|
|
Loading…
Reference in New Issue