don't use silent when echoing commit sha

This commit is contained in:
Thomas Boop 2020-09-22 11:14:09 -04:00
parent 8940ec9519
commit d52996e7c2
2 changed files with 4 additions and 2 deletions

View file

@ -256,7 +256,8 @@ class GitCommandManager {
async log1(format?: string): Promise<string> {
var args = format ? ['log', '-1', format] : ['log', '-1']
const output = await this.execGit(args, false, true)
var silent = format ? false : true
const output = await this.execGit(args, false, silent)
return output.stdout
}