mirror of
				https://code.forgejo.org/actions/checkout.git
				synced 2025-11-04 06:39:11 +00:00 
			
		
		
		
	lint: format
This commit is contained in:
		
							parent
							
								
									da844dd131
								
							
						
					
					
						commit
						de8b6b8a2f
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -471,7 +471,10 @@ class GitCommandManager {
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  async tryReset(): Promise<boolean> {
 | 
					  async tryReset(): Promise<boolean> {
 | 
				
			||||||
    const output = await this.execGit(['reset', '--hard', '--recurse-submodules', 'HEAD'], true)
 | 
					    const output = await this.execGit(
 | 
				
			||||||
 | 
					      ['reset', '--hard', '--recurse-submodules', 'HEAD'],
 | 
				
			||||||
 | 
					      true
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
    return output.exitCode === 0
 | 
					    return output.exitCode === 0
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue