Skip to content
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

Prevent root being deleted from VS Code #1426

Merged
merged 1 commit into from
Jul 9, 2023
Merged

Conversation

worksofliam
Copy link
Contributor

Changes

Based on a discussion had by a user who deleted root from VS Code (by accident?), we should no longer let users delete root since as the confirmation isn't enough.

Checklist

  • have tested my change
  • updated relevant documentation
  • Remove any/all console.logs I added
  • eslint is not complaining
  • have added myself to the contributors' list in CONTRIBUTING.md
  • for feature PRs: PR only includes one feature enhancement.

@worksofliam worksofliam requested a review from chrjorgensen July 9, 2023 04:24
Copy link
Collaborator

@chrjorgensen chrjorgensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected

@chrjorgensen
Copy link
Collaborator

@worksofliam I approve and merge this PR now, but have some thoughts on further protecting vital filesystems on the server, which I will put in a new PR later.

@chrjorgensen chrjorgensen merged commit 3715595 into master Jul 9, 2023
@sebjulliand sebjulliand deleted the feature/no_root_delete branch July 10, 2023 07:48
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.

2 participants