Closed UncleSamSwiss closed 2 years ago
In the following lines dir seems not to be used (sorry, I'm not a go expert): https://github.com/toowoxx/terraform-provider-packer/blob/9c1d43938fdeb3dfc04c1999d80a8fe355f19ed8/provider/data_source_files.go#L26-L34
dir
I believe the two calls should be:
- filepath.Glob(resourceState.Directory.Value + ... + filepath.Glob(dir + ...
Thank you! It looks like you're correct. I'll fix this in a future version.
In the following lines
dir
seems not to be used (sorry, I'm not a go expert): https://github.com/toowoxx/terraform-provider-packer/blob/9c1d43938fdeb3dfc04c1999d80a8fe355f19ed8/provider/data_source_files.go#L26-L34I believe the two calls should be: