1
0
mirror of https://github.com/hashicorp/packer.git synced 2026-02-05 12:45:10 +01:00

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

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