mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-03 00:57:52 +02:00
Enable intrange linter, and fix warnings
This commit is contained in:
@ -53,7 +53,7 @@ func RunTests(args RunTestArgs) error {
|
||||
filepath.Join(testDir, test.Name()),
|
||||
)
|
||||
|
||||
for i := 0; i < args.MaxAttempts; i++ {
|
||||
for i := range args.MaxAttempts {
|
||||
err := runTest(test, args, paths, projectRootDir, gitVersion)
|
||||
if err != nil {
|
||||
if i == args.MaxAttempts-1 {
|
||||
|
Reference in New Issue
Block a user