mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 15:53:36 +00:00 
			
		
		
		
	Merge dad69cab555103c3a4b4f7c28145eb29757f012b into ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
This commit is contained in:
		
						commit
						1519d6c791
					
				
							
								
								
									
										6
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -711,7 +711,11 @@ class GitCommandManager { | |||||||
|     } |     } | ||||||
|     init() { |     init() { | ||||||
|         return __awaiter(this, void 0, void 0, function* () { |         return __awaiter(this, void 0, void 0, function* () { | ||||||
|             yield this.execGit(['init', this.workingDirectory]); |             yield this.execGit([ | ||||||
|  |                 'init', | ||||||
|  |                 '--initial-branch=placeholder', | ||||||
|  |                 this.workingDirectory | ||||||
|  |             ]); | ||||||
|         }); |         }); | ||||||
|     } |     } | ||||||
|     isDetached() { |     isDetached() { | ||||||
|  | |||||||
| @ -328,7 +328,11 @@ class GitCommandManager { | |||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   async init(): Promise<void> { |   async init(): Promise<void> { | ||||||
|     await this.execGit(['init', this.workingDirectory]) |     await this.execGit([ | ||||||
|  |       'init', | ||||||
|  |       '--initial-branch=placeholder', | ||||||
|  |       this.workingDirectory | ||||||
|  |     ]) | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   async isDetached(): Promise<boolean> { |   async isDetached(): Promise<boolean> { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user