make period stripping more strict so that users can disable provisiners by adding .old or whatever; this is pretty typical convention.

pull/8735/head
Megan Marsh 6 years ago
parent 391cea13ed
commit ced2e945e3

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