Skip to content

Commit

Permalink
Update components/gitpod-cli/cmd/credential-helper.go
Browse files Browse the repository at this point in the history
Co-authored-by: Cornelius A. Ludmann <[email protected]>
  • Loading branch information
JanKoehnlein and corneliusludmann authored Jun 15, 2021
1 parent 085550a commit 3ff79f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/gitpod-cli/cmd/credential-helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func parseHostFromStdin() string {

func parseProcessTree() (repoUrl string, gitCommand string) {
gitCommandRegExp := regexp.MustCompile(`git(,\d+\s+|\s+)(push|clone|fetch|pull|diff)`)
repoUrlRegExp := regexp.MustCompile(`\sorigin\s*(https:[^s]*)\s`)
repoUrlRegExp := regexp.MustCompile(`\sorigin\s*(https:[^\s]*)\s`)
pid := os.Getpid()
for {
cmdLine := readProc(pid, "cmdline")
Expand Down

0 comments on commit 3ff79f6

Please sign in to comment.