Browse Source

Limit var scope

pull/32/head
Greyson Dehn 8 years ago
parent
commit
cff2aaafff
  1. 3
      plugin.go

3
plugin.go

@ -54,9 +54,8 @@ func (p Plugin) Exec() error {
exportSecrets(p.Config.Secrets)
}
var overridesFileName string
if len(p.Config.Submodules) != 0 {
overridesFileName = submoduleOverride(p.Config.Submodules)
overridesFileName := submoduleOverride(p.Config.Submodules)
if overridesFileName != "" {
defer os.Remove(overridesFileName)

Loading…
Cancel
Save