feat(dev-infra): add `#` to outputed list of PRs for discover-new-conflicts (#37556)

Adding in a `#` prepended to each PR number in the list of conflicting PRs
found by the discover-new-conflicts script will allow for users to copy
paste the output from the script into a github comment and have the PRs
automatically link.

PR Close #37556
This commit is contained in:
Joey Perrott 2020-06-12 08:20:01 -07:00 committed by Misko Hevery
parent 104abe04ba
commit b45acb8d32
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ export async function discoverNewConflictsForPr(
// Inform about discovered conflicts, exit with failure.
error.group(`${conflicts.length} PR(s) which conflict(s) after #${newPrNumber} merges:`);
for (const pr of conflicts) {
error(` - ${pr.number}: ${pr.title}`);
error(` - #${pr.number}: ${pr.title}`);
}
error.groupEnd();
process.exit(1);