mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 15:58:09 +08:00 
			
		
		
		
	removing silent option
This commit is contained in:
		
							
								
								
									
										7
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@@ -7399,7 +7399,7 @@ class GitCommandManager {
 | 
				
			|||||||
            else {
 | 
					            else {
 | 
				
			||||||
                args.push('--branches');
 | 
					                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')) {
 | 
					            for (let branch of output.stdout.trim().split('\n')) {
 | 
				
			||||||
                branch = branch.trim();
 | 
					                branch = branch.trim();
 | 
				
			||||||
                if (branch) {
 | 
					                if (branch) {
 | 
				
			||||||
@@ -7672,7 +7672,7 @@ class GitCommandManager {
 | 
				
			|||||||
            for (const key of Object.keys(this.gitEnv)) {
 | 
					            for (const key of Object.keys(this.gitEnv)) {
 | 
				
			||||||
                env[key] = this.gitEnv[key];
 | 
					                env[key] = this.gitEnv[key];
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            const stdout = [];
 | 
					            const stdout = ['ardvark'];
 | 
				
			||||||
            const options = {
 | 
					            const options = {
 | 
				
			||||||
                cwd: this.workingDirectory,
 | 
					                cwd: this.workingDirectory,
 | 
				
			||||||
                env,
 | 
					                env,
 | 
				
			||||||
@@ -7681,6 +7681,9 @@ class GitCommandManager {
 | 
				
			|||||||
                listeners: {
 | 
					                listeners: {
 | 
				
			||||||
                    stdout: (data) => {
 | 
					                    stdout: (data) => {
 | 
				
			||||||
                        stdout.push(data.toString());
 | 
					                        stdout.push(data.toString());
 | 
				
			||||||
 | 
					                    },
 | 
				
			||||||
 | 
					                    stderr: (data) => {
 | 
				
			||||||
 | 
					                        stdout.push(data.toString());
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user