forked from toolshed/abra
		
	@ -157,7 +157,8 @@ func EnsureVersion(recipeName, version string) error {
 | 
			
		||||
	logrus.Debugf("read '%s' as tags for recipe '%s'", strings.Join(parsedTags, ", "), recipeName)
 | 
			
		||||
 | 
			
		||||
	if tagRef.String() == "" {
 | 
			
		||||
		return fmt.Errorf("%s is not available?", version)
 | 
			
		||||
		logrus.Warnf("%s recipe has no local tag: %s? this recipe version is not released?", recipeName, version)
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	worktree, err := repo.Worktree()
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user