Unverified Commit 5cbee8ae authored by Wyatt Johnson's avatar Wyatt Johnson Committed by GitHub

fix: fixed merge driver output, does not expect debugging messages to output on stdout (#80736)

The git merge driver does not expect debugging messages to output on
stdout, and instead requires them to output on stderr. This changes the
`console.log` to a `console.error` to account for this requirement.
parent 8a554563
...@@ -44,7 +44,7 @@ function main() { ...@@ -44,7 +44,7 @@ function main() {
writeJsonSync(currentPath, merged) writeJsonSync(currentPath, merged)
const addedCount = Object.keys(merged).length - Object.keys(current).length const addedCount = Object.keys(merged).length - Object.keys(current).length
console.log( console.error(
`merge-errors-json: added ${addedCount === 1 ? '1 new message' : `${addedCount} new messages`} to errors.json` `merge-errors-json: added ${addedCount === 1 ? '1 new message' : `${addedCount} new messages`} to errors.json`
) )
process.exit(0) process.exit(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment