diff --git a/portlist/portlist_windows.go b/portlist/portlist_windows.go index 4c2578bba..8a7791357 100644 --- a/portlist/portlist_windows.go +++ b/portlist/portlist_windows.go @@ -23,7 +23,7 @@ func listPorts() (List, error) { } func addProcesses(pl []Port) ([]Port, error) { - // OpenCurrentProcessToken instead of GetCurrentProcessToken, + //lint:ignore SA1019 OpenCurrentProcessToken instead of GetCurrentProcessToken, // as GetCurrentProcessToken only works on Windows 8+. tok, err := windows.OpenCurrentProcessToken() if err != nil {