Просмотр исходного кода

check for heroku and paketo builders for extra check

Mohammed Nafees 3 лет назад
Родитель
Сommit
6c59caad2d
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      cli/cmd/run.go

+ 2 - 0
cli/cmd/run.go

@@ -129,6 +129,8 @@ func run(_ *types.GetAuthenticatedUserResponse, client *api.Client, args []strin
 		}
 
 		if release.BuildConfig != nil &&
+			(strings.Contains(release.BuildConfig.Builder, "heroku") ||
+				strings.Contains(release.BuildConfig.Builder, "paketo")) &&
 			execArgs[0] != "/cnb/lifecycle/launcher" &&
 			execArgs[0] != "launcher" {
 			// this is a buildpacks release using a heroku builder, prepend the launcher