style: use linter to style the code

This commit is contained in:
Simon Cornet 2025-03-05 09:20:50 +01:00
commit 998274cef3
5 changed files with 32 additions and 32 deletions

View file

@ -88,8 +88,8 @@ func checkoutRepositories(repositories []Repository, concurrency int) {
} }
default: default:
logPrint("ERROR: decided not to clone or pull repository" + repoName, nil) logPrint("ERROR: decided not to clone or pull repository"+repoName, nil)
logPrint("ERROR: this is why: " + repoStatus, nil) logPrint("ERROR: this is why: "+repoStatus, nil)
// set a lock, increment counters and unlock // set a lock, increment counters and unlock
mu.Lock() mu.Lock()
@ -143,7 +143,7 @@ func pullRepository(repoName string, repoDestination string) {
pullErrorMsg = append(pullErrorMsg, repoDestination) pullErrorMsg = append(pullErrorMsg, repoDestination)
default: default:
logPrint("ERROR: pulling " + repoName, nil) logPrint("ERROR: pulling "+repoName, nil)
} }
} }
} }