fix: correct fmt.Errorf violations

This commit is contained in:
Jose Diaz-Gonzalez
2019-01-21 19:45:31 -05:00
parent 887c1d4254
commit 3670d7efcd
2 changed files with 9 additions and 9 deletions

View File

@@ -87,7 +87,7 @@ func CommandRemove(args []string, index int) (err error) {
}
if len(buildpacks) == 0 {
err = errors.New(fmt.Sprintf("No buildpacks were found, next release on %s will detect buildpack normally", appName))
err = fmt.Errorf("No buildpacks were found, next release on %s will detect buildpack normally", appName)
return
}