Browse Source

Adds args to git error logging

main
Eric Amodio 3 years ago
parent
commit
a3d427d38a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/env/node/git/git.ts

+ 1
- 1
src/env/node/git/git.ts View File

@ -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
Loading…
Cancel
Save