Browse Source

Merge pull request #278 from Morganamilo/fixerr

Add missing err check
Morgana 7 years ago
parent
commit
3d7870903b
1 changed files with 5 additions and 0 deletions
  1. 5 0
      conflicts.go

+ 5 - 0
conflicts.go

@@ -314,6 +314,11 @@ func checkForAllConflicts(dc *depCatagories) error {
 	}()
 
 	wg.Wait()
+
+	if err != nil {
+		return err
+	}
+
 	if len(innerConflicts) != 0 {
 		fmt.Println(
 			red("\nInner conflicts found:"))