Skip to content

Remove leading slash from rm -rf /vendor/* #9069

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

Merged
merged 1 commit into from
Jan 17, 2018
Merged

Remove leading slash from rm -rf /vendor/* #9069

merged 1 commit into from
Jan 17, 2018

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