mirror of
https://shylinux.com/x/icebergs
synced 2025-04-27 17:58:29 +08:00
opt some
This commit is contained in:
parent
91236d82ed
commit
de1c4af963
@ -85,7 +85,7 @@ func _server_param(m *ice.Message, arg ...string) (string, string) {
|
||||
default:
|
||||
repos = strings.TrimSuffix(repos, service)
|
||||
}
|
||||
return kit.Path(m.Config(nfs.PATH), REPOS, repos), strings.TrimPrefix(service, "git-")
|
||||
return kit.Path(m.Config(nfs.PATH), REPOS, strings.TrimSuffix(repos, ".git/")), strings.TrimPrefix(service, "git-")
|
||||
}
|
||||
func _server_repos(m *ice.Message, arg ...string) error {
|
||||
repos, service := _server_param(m, arg...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user