Skip to content

Commit

Permalink
Fix empty repo folder while adding new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
WSMathias committed Apr 6, 2020
1 parent 915b973 commit 6380827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/core/starterkit_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (repo *StarterKitRepo) Find(name string) ([]StarterKit, error) {
func (repo *StarterKitRepo) Add() {
d := downloader.Downloader{}
if repo.Dir == "" {
repo.Dir = repo.Home.StarterKits()
repo.Dir = Home("").StarterKits()
}
sourceRepo := fmt.Sprintf("%s//%s", repo.URL, repo.Dir)
fmt.Println("Downloading starterkits...")
Expand Down

0 comments on commit 6380827

Please sign in to comment.