refactor: less quotes
continuous-integration/drone/push Build is failing Details

This commit is contained in:
decentral1se 2021-12-22 02:50:16 +01:00
parent 5513754c22
commit 48c965bb21
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ The new example repository is cloned to ~/.abra/apps/<recipe>.
directory := path.Join(config.APPS_DIR, recipeName)
if _, err := os.Stat(directory); !os.IsNotExist(err) {
logrus.Fatalf("'%s' recipe directory already exists?", directory)
logrus.Fatalf("%s recipe directory already exists?", directory)
}
url := fmt.Sprintf("%s/example.git", config.REPOS_BASE_URL)
@ -53,7 +53,7 @@ The new example repository is cloned to ~/.abra/apps/<recipe>.
if err := os.RemoveAll(gitRepo); err != nil {
logrus.Fatal(err)
}
logrus.Debugf("removed git repo in '%s'", gitRepo)
logrus.Debugf("removed git repo in %s", gitRepo)
toParse := []string{
path.Join(config.APPS_DIR, recipeName, "README.md"),
@ -88,7 +88,7 @@ The new example repository is cloned to ~/.abra/apps/<recipe>.
}
logrus.Infof(
"new recipe '%s' created in %s, happy hacking!\n",
"new recipe %s created in %s, happy hacking!\n",
recipeName, path.Join(config.APPS_DIR, recipeName),
)