Commit e88fa43c authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

find proper extension

parent 9514be0d
......@@ -175,7 +175,7 @@ func (c *config) discoverSingle(glob string, m *map[string]string) error {
// One Windows, ignore any plugins that don't end in .exe.
// We could do a full PATHEXT parse, but this is probably good enough.
if runtime.GOOS == "windows" && strings.ToLower(filepath.Ext(file)) != "exe" {
if runtime.GOOS == "windows" && strings.ToLower(filepath.Ext(file)) != ".exe" {
log.Printf(
"[DEBUG] Ignoring plugin match %s, no exe extension",
match)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment