Skip to content

Differentiate error conditions #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schneems
Copy link

When you commit to git with only one directory and nothing else in root, it will push the contents of just that directory. I.e. an app with this structure fails to deploy:

mkdir -p app
touch app/Gemfile
touch app/Gemfile.lock
git init .; git add . ; git commit -m "first"

The error message is PROJECT_PATH is undefined which is incorrect. I added another error message that would properly identify the failure mode and give you more debugging information.

When you commit to git with only one directory and nothing else in root, it will push the contents of just that directory. I.e. an app with this structure fails to deploy:

```
mkdir -p app
touch app/Gemfile
touch app/Gemfile.lock
git init .; git add . ; git commit -m "first"
```

The error message is `PROJECT_PATH is undefined` which is incorrect. I added another error message that would properly identify the failure mode and give you more debugging information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant