Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.

Don't create README.md on cleanup #139

Merged
merged 1 commit into from
Apr 7, 2015

Conversation

xelaris
Copy link
Contributor

@xelaris xelaris commented Apr 6, 2015

In case of an exception, e.g. when typing an invalid version number, the cleanUp method gets called. Since the README.md file was dumped there, the target directory wasn't empty on the next try, so it wasn't possible to re-run the command without manually removing the file.

@javiereguiluz
Copy link
Member

@xelaris thanks for fixing this issue and for improving the user experience with this change.

@javiereguiluz javiereguiluz merged commit a4198d6 into symfony:master Apr 7, 2015
javiereguiluz added a commit that referenced this pull request Apr 7, 2015
This PR was merged into the 1.0-dev branch.

Discussion
----------

Don't create README.md on cleanup

In case of an exception, e.g. when typing an invalid version number, the `cleanUp` method gets called. Since the `README.md` file was dumped there, the target directory wasn't empty on the next try, so it wasn't possible to re-run the command without manually removing the file.

Commits
-------

a4198d6 Don't create README.md on cleanup
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants