From a293179e898de8470ddbee9896d3d9ea09899321 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Sun, 19 Dec 2021 23:23:54 +0100 Subject: [PATCH] refactor: use config var for path --- cli/catalogue/catalogue.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/catalogue/catalogue.go b/cli/catalogue/catalogue.go index d7ed9bf6..9e6dfcbe 100644 --- a/cli/catalogue/catalogue.go +++ b/cli/catalogue/catalogue.go @@ -221,8 +221,7 @@ A new catalogue copy can be published to the recipes repository by passing the } } - cataloguePath := path.Join(config.ABRA_DIR, "catalogue", "recipes.json") - logrus.Infof("generated new recipe catalogue in %s", cataloguePath) + logrus.Infof("generated new recipe catalogue in %s", config.APPS_JSON) if internal.Commit { repoPath := path.Join(config.ABRA_DIR, "catalogue")