mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-20 12:24:32 +09:00
tools/capver: add blank line before range for wsl
This commit is contained in:
1 parent
4a531ec7a2
commit
9a199a7e7e
1 file changed
+1
@@ -212,6 +212,7 @@ func getCapabilityVersions(ctx context.Context) (map[string]tailcfg.CapabilityVe
|
||||
re := regexp.MustCompile(`const CurrentCapabilityVersion CapabilityVersion = (\d+)`)
|
||||
|
||||
versions := make(map[string]tailcfg.CapabilityVersion)
|
||||
|
||||
for minorVer, patchVer := range minorVersions {
|
||||
body, err := fetch(ctx, fmt.Sprintf(rawFileURL, patchVer), "")
|
||||
if errors.Is(err, errNotFound) {
|
||||
|
||||
Reference in new issue
Block a user