fix: allow dot in repo name

This commit is contained in:
Jonas
2022-11-03 15:58:44 +01:00
committed by GitHub
parent 706f44de40
commit bb26640326
+1 -1
View File
@@ -18,7 +18,7 @@ export default class GitHelper {
/(?<domain>[^\s\/\?#:]+)/,
/(?::(?<port>[0-9]{1,5}))?/,
/(?:[\/:](?<owner>[^\s\/\?#:]+))?/,
/(?:[\/:](?<repo>[^\s\/\?#:.]+))/,
/(?:[\/:](?<repo>(?:[^\s\/\?#:.]|\.(?!git))+))/,
/(?:.git)?\/?\s*$/,
]
.map((r) => r.source)