strip auth info from debug info dump
This commit is contained in:
parent
81417a5031
commit
bb5614c5ef
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ class ET extends Extension
|
|||
$commitHash = trim(exec('git log --pretty="%h" -n1 HEAD'));
|
||||
$commitBranch= trim(exec('git rev-parse --abbrev-ref HEAD'));
|
||||
$commitOrigin= trim(exec('git config --get remote.origin.url'));
|
||||
$commitOrigin= preg_replace("#//.*@#", "//xxx@", $commitOrigin);
|
||||
$info['git'] = [
|
||||
'commit' => $commitHash,
|
||||
'branch' => $commitBranch,
|
||||
|
|
Reference in a new issue