Skip to content
Myr

[minor] Echo nonwritable file path to stderr.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jordan Harband · committed by Jordan Harband · parent f49eb61 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:nvm.sh+1 added
1662 unmodified lines
1663 if ! nvm_check_file_permissions "$FILE"; then1664 return 21665 fi1666 elif [ -e "$FILE" ] && [ ! -w "$FILE" ]; then1667 nvm_err "file is not writable: $(nvm_sanitize_path "$FILE")"1668 return 11669 fi1670 done1671 return 0
915 unmodified lines