build: fix the compare master and patch script output (#36749)

Currently the commit message and corresponding version are flipped, which makes it hard to review the changes. This commit updates the script to properly recognize the order of arguments.

PR Close #36749
This commit is contained in:
Andrew Kushnir 2020-04-21 14:22:52 -07:00 committed by Matias Niemelä
parent 535c249f3a
commit 5db8d93fe5
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ function collectCommitsAsMap(rawGitCommits) {
return commitsMap; return commitsMap;
} }
function getCommitInfoAsString(commitInfo, version) { function getCommitInfoAsString(version, commitInfo) {
return `[${version}+] ${commitInfo}`; return `[${version}+] ${commitInfo}`;
} }