fix: use correct path for checking app path
This commit is contained in:
parent
064a0f271f
commit
d97da9f45c
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user