Skip to content

Improve the error message if .heroku is a file not a directory #1768

@edmorley

Description

@edmorley

eg:

-----> Building on the Heroku-24 stack
-----> Determining which buildpack to use for this app
-----> Python app detected
-----> Using Python 3.11 specified in .python-version
-----> Installing Python 3.11.11
mkdir: cannot create directory ‘/tmp/build_6c33c932/.heroku’: Not a directory
 !     Push rejected, failed to compile Python app.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions