chore: don't join if nothing to join

This commit is contained in:
decentral1se 2023-09-05 11:13:30 +02:00 committed by decentral1se
parent b4fd7fd77c
commit b3bd058962
1 changed files with 4 additions and 4 deletions

View File

@ -171,10 +171,10 @@ func newAbraApp(version, commit string) *cli.App {
app.Before = func(c *cli.Context) error {
paths := []string{
config.ABRA_DIR,
path.Join(config.SERVERS_DIR),
path.Join(config.RECIPES_DIR),
path.Join(config.VENDOR_DIR),
path.Join(config.BACKUP_DIR),
config.SERVERS_DIR,
config.RECIPES_DIR,
config.VENDOR_DIR,
config.BACKUP_DIR,
}
for _, path := range paths {