forked from toolshed/abra
		
	fix: use correct path for checking app path
This commit is contained in:
		| @ -52,7 +52,7 @@ type App struct { | ||||
| } | ||||
|  | ||||
| func (a App) EnsureExists() error { | ||||
| 	appDir := path.Join(config.ABRA_DIR, a.Name) | ||||
| 	appDir := path.Join(config.ABRA_DIR, "apps", strings.ToLower(a.Name)) | ||||
| 	if _, err := os.Stat(appDir); os.IsNotExist(err) { | ||||
| 		url := fmt.Sprintf("%s/%s.git", config.REPOS_BASE_URL, a.Name) | ||||
| 		_, err := git.PlainClone(appDir, false, &git.CloneOptions{URL: url, Tags: git.AllTags}) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user