mirror of
				https://github.com/jesseduffield/lazygit.git
				synced 2025-10-31 02:25:35 +03:00 
			
		
		
		
	add secureexec file for getting around windows checking for a binary first in the current dir
This commit is contained in:
		
							
								
								
									
										9
									
								
								vendor/github.com/cli/safeexec/lookpath.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								vendor/github.com/cli/safeexec/lookpath.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| // +build !windows | ||||
|  | ||||
| package safeexec | ||||
|  | ||||
| import "os/exec" | ||||
|  | ||||
| func LookPath(file string) (string, error) { | ||||
| 	return exec.LookPath(file) | ||||
| } | ||||
		Reference in New Issue
	
	Block a user