mirror of
https://github.com/tw93/Mole.git
synced 2026-02-09 22:34:16 +00:00
Go code formatting optimization
This commit is contained in:
@@ -286,7 +286,7 @@ func commandExists(name string) bool {
|
||||
return false
|
||||
}
|
||||
defer func() {
|
||||
if r := recover(); r != nil {
|
||||
if r := recover(); r != nil { //nolint:staticcheck
|
||||
// Treat LookPath panics as "missing".
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user