update comment in patchProviders
Some checks failed
Build Debug / BuildDebug (push) Has been cancelled
Build Pre-Release / BuildPreRelease (push) Has been cancelled

This commit is contained in:
wwqgtxx 2026-01-20 14:44:51 +08:00
parent 2c106d5a7e
commit 6969e1b657

View File

@ -114,7 +114,7 @@ func patchProviders(cfg *config.RawConfig, profileDir string) error {
} else if url, ok := provider["url"].(string); ok {
path = prefix + "/" + utils.MakeHash([]byte(url)).String() // same as C.GetPathByHash
} else {
return // both path and url is empty, WTF???
return // both path and url are empty, maybe inline provider
}
provider["path"] = profileDir + "/providers/" + path
})