Skip to content

Commit

Permalink
Merge pull request #463 from victorcoder/fix_406
Browse files Browse the repository at this point in the history
This should be TrimSuffix
  • Loading branch information
Victor Castell authored Nov 27, 2018
2 parents e89b353 + dacb379 commit ef23b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func getPluginName(file string) (string, bool) {
}

// This cleans off the .exe for windows plugins
name := strings.TrimRight(parts[2], ".exe")
name := strings.TrimSuffix(parts[2], ".exe")
return name, true
}

Expand Down

0 comments on commit ef23b6f

Please sign in to comment.