| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Woo! Thanks for doing this!
Sorry, something went wrong.
Codecov ReportAdditional details and impacted files @@ Coverage Diff @@
## main #5518 +/- ##
=======================================
Coverage 72.44% 72.44%
=======================================
Files 30 30
Lines 1673 1673
Branches 366 366
=======================================
Hits 1212 1212
Misses 398 398
Partials 63 63 Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
Actually... Where's my head. Forgot about the --unsafe-perm that npm requires... Updating coming up! |
Sorry, something went wrong.
Nice catch! Remind me again, why do we need this? |
Sorry, something went wrong.
https://github.com/coder/code-server/blob/main/ci/build/npm-postinstall.sh#L95-L101 Now, is it actually needed? Not sure. Definitely something I'm happy to look into in the future. |
Sorry, something went wrong.
|
I honestly can't remember. @code-asher might know. Probably fine to add for now then we can revert/fix if needed. |
Sorry, something went wrong.
|
I think we only need it if someone is installing code-server with root because NPM will drop permissions in the post install scripts making the code-server install fail. |
Sorry, something went wrong.
So we should add a check for the user running the script, and only show the warning if it's root? Happy to play around with that and send a separate PR for that in the next couple of days. |
Sorry, something went wrong.
|
Yeah I think that would be ideal!!
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Follow-up of #5071 (comment) to update the docs.
Only left references to yarn commands for the development process.