File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -240,23 +240,19 @@ nvm_check_global_modules() {
240
240
) "
241
241
242
242
if [ " ${MODULE_COUNT} " != ' 0' ]; then
243
- cat << -' END_MESSAGE '
244
- => You currently have modules installed globally with `npm`. These will no
245
- => longer be linked to the active version of Node when you install a new node
246
- => with `nvm`; and they may (depending on how you construct your `$PATH`)
247
- => override the binaries of modules installed with `nvm`:
243
+ echo " => You currently have modules installed globally with ` npm ` . These will no "
244
+ echo " => longer be linked to the active version of Node when you install a new node "
245
+ echo " => with ` nvm ` ; and they may (depending on how you construct your ` $PATH ` ) "
246
+ echo " => override the binaries of modules installed with ` nvm ` : "
247
+ echo
248
248
249
- END_MESSAGE
250
249
command printf %s\\ n " $NPM_GLOBAL_MODULES "
251
- cat << -'END_MESSAGE '
252
-
253
- => If you wish to uninstall them at a later point (or re-install them under your
254
- => `nvm` Nodes), you can remove them from the system Node as follows:
255
-
256
- $ nvm use system
257
- $ npm uninstall -g a_module
258
-
259
- END_MESSAGE
250
+ echo " => If you wish to uninstall them at a later point (or re-install them under your"
251
+ echo " => ` nvm` Nodes), you can remove them from the system Node as follows:"
252
+ echo
253
+ echo " $ nvm use system"
254
+ echo " $ npm uninstall -g a_module"
255
+ echo
260
256
fi
261
257
}
262
258
You can’t perform that action at this time.
0 commit comments