forked from toolshed/abra
		
	fix: don't run twice
This commit is contained in:
		@ -146,8 +146,10 @@ A new catalogue copy can be published to the recipes repository by passing the
 | 
				
			|||||||
					logrus.Fatalf("%s has locally unstaged changes", rm.Name)
 | 
										logrus.Fatalf("%s has locally unstaged changes", rm.Name)
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				if err := recipe.EnsureUpToDate(recipeDir); err != nil {
 | 
									if recipeName == "" { // don't run twice
 | 
				
			||||||
					logrus.Fatal(err)
 | 
										if err := recipe.EnsureUpToDate(recipeDir); err != nil {
 | 
				
			||||||
 | 
											logrus.Fatal(err)
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				ch <- rm.Name
 | 
									ch <- rm.Name
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user