ソースを参照

Adds args to git error logging

main
Eric Amodio 3年前
コミット
a3d427d38a
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/env/node/git/git.ts

+ 1
- 1
src/env/node/git/git.ts ファイルの表示

@ -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
読み込み中…
キャンセル
保存