From b9b9cc2ba8f5b149990337642ef2c7d3ac953efd Mon Sep 17 00:00:00 2001 From: Andrew Kushnir Date: Tue, 21 Apr 2020 14:22:52 -0700 Subject: [PATCH] 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 --- scripts/compare-master-to-patch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/compare-master-to-patch.js b/scripts/compare-master-to-patch.js index 4ae5befeca..11b5c75bb3 100755 --- a/scripts/compare-master-to-patch.js +++ b/scripts/compare-master-to-patch.js @@ -88,7 +88,7 @@ function collectCommitsAsMap(rawGitCommits) { return commitsMap; } -function getCommitInfoAsString(commitInfo, version) { +function getCommitInfoAsString(version, commitInfo) { return `[${version}+] ${commitInfo}`; }