1
0
Fork 0
mirror of https://github.com/actions/checkout synced 2024-11-08 22:52:39 +00:00

removing silent option

This commit is contained in:
Vallie Joseph 2022-11-30 19:42:26 +00:00
parent 2c24b08d98
commit ad19603e6b

7
dist/index.js vendored
View file

@ -7399,7 +7399,7 @@ class GitCommandManager {
else {
args.push('--branches');
}
const output = yield this.execGit(args, false, true);
const output = yield this.execGit(args);
for (let branch of output.stdout.trim().split('\n')) {
branch = branch.trim();
if (branch) {
@ -7672,7 +7672,7 @@ class GitCommandManager {
for (const key of Object.keys(this.gitEnv)) {
env[key] = this.gitEnv[key];
}
const stdout = [];
const stdout = ['ardvark'];
const options = {
cwd: this.workingDirectory,
env,
@ -7681,6 +7681,9 @@ class GitCommandManager {
listeners: {
stdout: (data) => {
stdout.push(data.toString());
},
stderr: (data) => {
stdout.push(data.toString());
}
}
};