Skip the NPM root check in macOS (fix #303)
macOS users install NPM using brew to /usr/local. This directory is writable by the user
This commit is contained in:
@@ -121,7 +121,8 @@ Just run `topgrade`. It will run the following steps:
|
||||
* [Voom](https://github.com/airblade/voom)
|
||||
* Node
|
||||
* Run `yarn global update` if yarn is installed.
|
||||
* Run `npm update -g` if NPM is installed and `npm root -g` is a path inside your home directory.
|
||||
* Run `npm update -g`. In Unix systems other then macOS the step will be
|
||||
performed only if`npm root -g` is a path inside your home directory.
|
||||
* Run `composer global update` if Composer's home directory is inside the home directory of the
|
||||
user. Run `valet install` after.
|
||||
* Upgrade Atom packages
|
||||
|
||||
Reference in New Issue
Block a user