Skip to content

Commit

Permalink
Do not block ps:exec when stack is container
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Fradette authored and eablack committed May 6, 2024
1 parent 8ca12e2 commit 8b9caa0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8b9caa0

Please # to comment.