avoid double logging of git diff

pull/119/head
dogboydog 2020-07-08 21:08:14 -04:00
parent 8804ab5634
commit 56987651c3
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -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,
});
}