mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
fix: handle git submodule link url
This commit is contained in:
parent
f3f9529e2b
commit
c7fe0f2383
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import { findNode } from 'utils/general'
|
|||
const subModuleURLRegex = {
|
||||
HTTP: /^https?:\/\/.*?$/,
|
||||
HTTPGit: /^https:.*?\.git$/,
|
||||
git: /^git@.*?:(.*?)\.git$/,
|
||||
git: /^git@.*?:(.*?)\/(.*?)\.git$/,
|
||||
}
|
||||
|
||||
function transformModuleGitURL(node: TreeNode, URL: string) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue