Skip to content

Commit 2bcda5e

Browse files
Retab tab to 4 spaces and use echo instead of cat in install.sh
1 parent f3cddf8 commit 2bcda5e

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

install.sh

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -240,23 +240,19 @@ nvm_check_global_modules() {
240240
)"
241241

242242
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
248248

249-
END_MESSAGE
250249
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
260256
fi
261257
}
262258

0 commit comments

Comments
 (0)