Small uniformization of the creation of procfile
Created by: lahiguera
This is a small change that is close to be a purely stylistic one.
There was some variety in the way that the procfile
variable was
being constructed in the shared Main function. This PR has some
changes to make its construction a little more uniform.
I didn't update the docs, since this is not a notable change IMO.
Closes #16978