diff --git a/helper/pluginutils/loader/filter_windows.go b/helper/pluginutils/loader/filter_windows.go index a3423c548..7e8c4bb7c 100644 --- a/helper/pluginutils/loader/filter_windows.go +++ b/helper/pluginutils/loader/filter_windows.go @@ -9,7 +9,7 @@ import ( // On windows, an executable can be any file with any extension. To avoid // introspecting the file, here we skip executability checks on windows systems -// and simply check for the convention of an `exe` extension. +// and simply check for the convention of an `.exe` extension. func executable(path string, s os.FileInfo) bool { - return filepath.Ext(path) == "exe" + return filepath.Ext(path) == ".exe" }