mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
avoid double logging of git diff
This commit is contained in:
parent
72ff2983a1
commit
ec0cde0c85
File diff suppressed because one or more lines are too long
@ -50,7 +50,7 @@ export default class Versioning {
|
||||
* Maximum number of lines to print when logging the git diff
|
||||
*/
|
||||
static get maxDiffLines() {
|
||||
return 5; // TODO: testing only, revert
|
||||
return 60;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -60,7 +60,7 @@ export default class Versioning {
|
||||
const diffCommand = `git --no-pager diff | head -n ${this.maxDiffLines.toString()}`;
|
||||
await System.run('sh', undefined, {
|
||||
input: Buffer.from(diffCommand),
|
||||
silent: false,
|
||||
silent: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user