forked from toolshed/abra
		
	refactor: less quotes
This commit is contained in:
		| @ -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), | ||||
| 		) | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user