Skip to content

Commit fe22c44

Browse files
authored
chore(migration): fix newline encoding in PR description (googleapis#11207)
1 parent d479dbe commit fe22c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/split_repo_migration/single-library.git-migrate-history.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ git push -u origin "${BRANCH}" --force
166166
# create pull request
167167
if which gh > /dev/null
168168
then
169-
gh pr create --title "chore(migration): Migrate code from ${SOURCE_REPO} into ${TARGET_PATH}" --body "See #${ISSUE_NUMBER}. $(echo '\n\nThis PR should be merged with a merge-commit, not a squash-commit, in order to preserve the git history.')"
169+
gh pr create --title "chore(migration): Migrate code from ${SOURCE_REPO} into ${TARGET_PATH}" --body "$(echo "See #${ISSUE_NUMBER}. \n\nThis PR should be merged with a merge-commit, not a squash-commit, in order to preserve the git history.")"
170170
else
171171
hub pull-request -m "migrate code from ${SOURCE_REPO}"
172172
fi

0 commit comments

Comments
 (0)