heroku / buildpacks-procfile

Heroku's Procfile Cloud Native Buildpack.
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Warn or error on mis-cased Procfile #192

Open edmorley opened 10 months ago

edmorley commented 10 months ago

On Heroku currently, Codon outputs the following warning if an app has a procfile rather than the correctly named Procfile:

~     Mis-cased procfile detected; ignoring.
~     Rename it to Procfile to have it honored.

We should add something similar to this buildpack.

We should likely also make this an error rather than a warning.

edmorley commented 1 month ago

An example of a lower-cased procfile causing confusion even on classic (where there is already a warning): https://heroku.support/1414816

As such it seems either an error or else accepting both capitalisations might be preferable?