Vallie Joseph 2 年之前
父节点
当前提交
b99f9d0aba
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      dist/index.js
  2. 1 0
      src/git-command-manager.ts

+ 1 - 0
dist/index.js

@@ -7389,6 +7389,7 @@ class GitCommandManager {
         return __awaiter(this, void 0, void 0, function* () {
             const result = [];
             const stderr = [];
+            core.info(this.gitEnv['GIT_HTTP_USER_AGENT']);
             // Note, this implementation uses "rev-parse --symbolic-full-name" because the output from
             // "branch --list" is more difficult when in a detached HEAD state.
             // Note, this implementation uses "rev-parse --symbolic-full-name" because there is a bug

+ 1 - 0
src/git-command-manager.ts

@@ -94,6 +94,7 @@ class GitCommandManager {
     const result: string[] = []
     const stderr: string[] = []
 
+    core.info(this.gitEnv['GIT_HTTP_USER_AGENT'])
     // Note, this implementation uses "rev-parse --symbolic-full-name" because the output from
     // "branch --list" is more difficult when in a detached HEAD state.
     // Note, this implementation uses "rev-parse --symbolic-full-name" because there is a bug