Skip to content

Commit dbf9471

Browse files
committed
fix(install): fails if GITHUB_PATH is not writable
instead, print the error message, but don't fail
1 parent abc2bb2 commit dbf9471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ main() {
6363

6464
# if $GITHUB_PATH is defined, add $HOME/bin to it
6565
if [ -n "$GITHUB_PATH" ]; then
66-
echo "$HOME/bin" >> "$GITHUB_PATH"
66+
echo "$HOME/bin" >> "$GITHUB_PATH" | true
6767
fi
6868
fi
6969

0 commit comments

Comments
 (0)