pick up dropped error

pull/8394/head
Megan Marsh 7 years ago
parent 9fc8ed02ae
commit cf0130b9ed

@ -151,6 +151,9 @@ func (s *StepDownload) download(ctx context.Context, ui packer.Ui, source string
targetPath += "." + s.Extension
}
targetPath, err = packer.CachePath(targetPath)
if err != nil {
return "", fmt.Errorf("CachePath: %s", err)
}
}
lockFile := targetPath + ".lock"

Loading…
Cancel
Save