Only require unsafe-perm if you are root

Remove it from the docs, as the error message should be sufficient and
it seems weird to recommend unsafe-perm by default.
This commit is contained in:
Asher
2024-04-16 10:46:25 -08:00
parent b8d830b826
commit 323a1f3234
4 changed files with 32 additions and 17 deletions

View File

@@ -70,7 +70,7 @@ code-server --auth none
7. If already installed then use the following command for upgradation.
```
npm update --global code-server --unsafe-perm
npm update --global code-server
```
## Upgrade