mirror of
https://github.com/hashicorp/packer.git
synced 2026-03-22 02:22:00 -04: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:
commit
7972ab723a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue