Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3571158
D4715.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
552 B
Referenced Files
None
Subscribers
None
D4715.diff
View Options
diff --git a/keyserver/bash/source-nvm.sh b/keyserver/bash/source-nvm.sh
--- a/keyserver/bash/source-nvm.sh
+++ b/keyserver/bash/source-nvm.sh
@@ -9,9 +9,12 @@
[ -n "$IN_NIX_SHELL" ] && return 0
# Intel Mac
+# shellcheck source=/dev/null
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"
# ARM-based Mac
+# shellcheck source=/dev/null
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && . "/opt/homebrew/opt/nvm/nvm.sh"
# Ubuntu
+# shellcheck source=/dev/null
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm install --no-progress
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 29, 7:57 AM (8 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2728955
Default Alt Text
D4715.diff (552 B)
Attached To
Mode
D4715: [keyserver] Clean up `source-nvm.sh` using ShellCheck
Attached
Detach File
Event Timeline
Log In to Comment