mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 01:58:36 +08:00 
			
		
		
		
	don't use silent when echoing commit sha
This commit is contained in:
		
							parent
							
								
									8940ec9519
								
							
						
					
					
						commit
						d52996e7c2
					
				
							
								
								
									
										3
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							|  | @ -5886,7 +5886,8 @@ class GitCommandManager { | |||
|     log1(format) { | ||||
|         return __awaiter(this, void 0, void 0, function* () { | ||||
|             var args = format ? ['log', '-1', format] : ['log', '-1']; | ||||
|             const output = yield this.execGit(args, false, true); | ||||
|             var silent = format ? false : true; | ||||
|             const output = yield this.execGit(args, false, silent); | ||||
|             return output.stdout; | ||||
|         }); | ||||
|     } | ||||
|  |  | |||
|  | @ -256,7 +256,8 @@ class GitCommandManager { | |||
| 
 | ||||
|   async log1(format?: string): Promise<string> { | ||||
|     var args = format ? ['log', '-1', format] : ['log', '-1'] | ||||
|     const output = await this.execGit(args, false, true) | ||||
|     var silent = format ? false : true | ||||
|     const output = await this.execGit(args, false, silent) | ||||
|     return output.stdout | ||||
|   } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Thomas Boop
						Thomas Boop