Skip to content

Conversation

ecodrutz
Copy link
Contributor

The leading slash makes the command delete the folder vendor from / of the file system instead the vendor folder from the current folder, which can cause major loss if someone has something there.

The leading slash makes the command delete the folder vendor from / of the file system instead the vendor folder from the current folder, which can cause major loss if someone has something there.
@javiereguiluz
Copy link
Member

@ecodrutz well spotted! thanks for fixing it and congrats on your first Symfony Docs contribution.

@javiereguiluz javiereguiluz merged commit 53ffc4f into symfony:4.0 Jan 17, 2018
javiereguiluz added a commit that referenced this pull request Jan 17, 2018
This PR was merged into the 4.0 branch.

Discussion
----------

Remove leading slash from rm -rf /vendor/*

The leading slash makes the command delete the folder vendor from / of the file system instead the vendor folder from the current folder, which can cause major loss if someone has something there.

Commits
-------

53ffc4f Remove leading slash from rm -rf /vendor/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants