bug(493): Improved git remote parsing · helm/chart-testing@9b319fc · GitHub
Skip to content

Commit 9b319fc

Browse files
bug(493): Improved git remote parsing
Previously this would fail to parse git remotes like: ssh://github.com/foo/bar ssh://github.com:2222/foo/bar This properly parses hostname from both URLs and scp style remotes. Signed-off-by: Rickard von Essen <rickard.von.essen@gmail.com>
1 parent dac2d60 commit 9b319fc

2 files changed

Lines changed: 19 additions & 8 deletions

File tree

‎pkg/tool/account.go‎

Lines changed: 12 additions & 6 deletions

‎pkg/tool/account_test.go‎

Lines changed: 7 additions & 2 deletions

0 commit comments

Comments
 (0)