From 8b9caa0dfa17f859ad95f4d198bf9a6019612bc2 Mon Sep 17 00:00:00 2001 From: Drew Fradette Date: Tue, 14 Feb 2023 11:41:46 -0500 Subject: [PATCH] Do not block ps:exec when stack is container --- lib/exec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/exec.js b/lib/exec.js index c692280..e9f34d6 100644 --- a/lib/exec.js +++ b/lib/exec.js @@ -78,6 +78,8 @@ function * initFeature(context, heroku, callback) { if (data.app['space']['shield'] === true) { cli.error(`This feature is restricted for Shield Private Spaces`) cli.exit(1); + } else if (data.app['build_stack']['name'] === 'container') { + cli.warn(`${context.app} is using the container stack which is not officially supported.`); } else if (buildpacks.length === 0) { cli.error(`${context.app} has no Buildpack URL set. You must deploy your application first!`) cli.exit(1);