diff --git a/common/shell-local/config.go b/common/shell-local/config.go index ba2508120..56f9e05cd 100644 --- a/common/shell-local/config.go +++ b/common/shell-local/config.go @@ -91,6 +91,9 @@ func Validate(config *Config) error { "{{.Script}}", } } + if len(config.TempfileExtension) == 0 { + config.TempfileExtension = ".cmd" + } } else { if config.InlineShebang == "" { config.InlineShebang = "/bin/sh -e"