Merge pull request #8735 from hashicorp/fix_plugin_loading

make period stripping more strict so that users can disable provisine…
This commit is contained in:
Megan Marsh
2020-03-13 12:53:55 -07:00
committed by GitHub
+1 -1
View File
@@ -296,7 +296,7 @@ func (c *config) discoverSingle(glob string) (map[string]string, error) {
}
// If the filename has a ".", trim up to there
if idx := strings.Index(file, "."); idx >= 0 {
if idx := strings.Index(file, ".exe"); idx >= 0 {
file = file[:idx]
}