Skip to content

Commit 44cc03a

Browse files
committed
git-gitlab: Properly display multiline error message
1 parent 56188b9 commit 44cc03a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

git-gitlab.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if [ -z "$remote" ]; then
3434
exit 1
3535
fi
3636
if [ $(echo $remote | wc -w) -gt 1 ]; then
37-
echo <<EOF
37+
cat <<EOF
3838
Multiple remotes found, specify a remote using '--remote REMOTE' argument
3939
Alternatively, you can configure your git repository using the command:
4040
git config --local gitlab.remote REMOTE"

0 commit comments

Comments
 (0)