mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 03:04:00 +08:00 
			
		
		
		
	.
This commit is contained in:
		
							
								
								
									
										8
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -7697,6 +7697,7 @@ class GitCommandManager { | |||||||
|             const listenersD = Object.assign(Object.assign({}, customListeners), defaultListener); |             const listenersD = Object.assign(Object.assign({}, customListeners), defaultListener); | ||||||
|             const stdout = []; |             const stdout = []; | ||||||
|             let temp = ''; |             let temp = ''; | ||||||
|  |             let temp2 = ''; | ||||||
|             const options = { |             const options = { | ||||||
|                 cwd: this.workingDirectory, |                 cwd: this.workingDirectory, | ||||||
|                 env, |                 env, | ||||||
| @@ -7708,11 +7709,18 @@ class GitCommandManager { | |||||||
|                         temp += chunk.toString(); |                         temp += chunk.toString(); | ||||||
|                         next(); |                         next(); | ||||||
|                     } |                     } | ||||||
|  |                 }), | ||||||
|  |                 outStream: new stream_1.default.Writable({ | ||||||
|  |                     write(chunk, _, next) { | ||||||
|  |                         temp2 += chunk.toString(); | ||||||
|  |                         next(); | ||||||
|  |                     } | ||||||
|                 }) |                 }) | ||||||
|             }; |             }; | ||||||
|             result.exitCode = yield exec.exec(`"${this.gitPath}"`, args, options); |             result.exitCode = yield exec.exec(`"${this.gitPath}"`, args, options); | ||||||
|             result.stdout = stdout.join(''); |             result.stdout = stdout.join(''); | ||||||
|             core.info(temp.length.toString()); |             core.info(temp.length.toString()); | ||||||
|  |             core.info(temp2.length.toString()); | ||||||
|             return result; |             return result; | ||||||
|         }); |         }); | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Vallie Joseph
					Vallie Joseph