Ver código fonte

Adds args to git error logging

main
Eric Amodio 3 anos atrás
pai
commit
a3d427d38a
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/env/node/git/git.ts

+ 1
- 1
src/env/node/git/git.ts Ver arquivo

@ -172,7 +172,7 @@ export class Git {
if (exception != null) {
Logger.error(
'',
`[GIT ] [${runOpts.cwd}] git ${(exception.message || exception.toString() || '')
`[GIT ] ${gitCommand} ${GlyphChars.Dot} ${(exception.message || String(exception) || '')
.trim()
.replace(/fatal: /g, '')
.replace(/\r?\n|\r/g, ` ${GlyphChars.Dot} `)} ${GlyphChars.Dot} ${duration} ms${status}`,

||||||
x
 
000:0
Carregando…
Cancelar
Salvar