Bläddra i källkod

Adds args to git error logging

main
Eric Amodio 3 år sedan
förälder
incheckning
a3d427d38a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      src/env/node/git/git.ts

+ 1
- 1
src/env/node/git/git.ts Visa fil

@ -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
Laddar…
Avbryt
Spara