Merge pull request #8735 from hashicorp/fix_plugin_loading

make period stripping more strict so that users can disable provisine…
pull/8892/head
Megan Marsh 6 years ago committed by GitHub
commit 7972ab723a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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]
}

Loading…
Cancel
Save