mirror of
				https://github.com/jesseduffield/lazygit.git
				synced 2025-10-30 23:57:43 +02:00 
			
		
		
		
	err was assigned but never checked
This commit is contained in:
		
				
					committed by
					
						 Jesse Duffield
						Jesse Duffield
					
				
			
			
				
	
			
			
			
						parent
						
							69ac0036e6
						
					
				
				
					commit
					d953712377
				
			| @@ -70,7 +70,7 @@ func (b *BranchListBuilder) obtainSafeBranches() []*commands.Branch { | ||||
| 	if err != nil { | ||||
| 		panic(err) | ||||
| 	} | ||||
| 	err = bIter.ForEach(func(b *plumbing.Reference) error { | ||||
| 	bIter.ForEach(func(b *plumbing.Reference) error { | ||||
| 		name := b.Name().Short() | ||||
| 		branches = append(branches, &commands.Branch{Name: name}) | ||||
| 		return nil | ||||
|   | ||||
		Reference in New Issue
	
	Block a user