aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/datamaps/reader.go
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-07-27 08:20:15 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-07-27 08:20:24 +0100
commit4ab499deb3955c6bfcce48d2f3eb36ef23836d71 (patch)
tree6e5be301d66071e6ff0f41bb0a1e5c5fcea7a8d6 /pkg/datamaps/reader.go
parent7d62c9811c2f4a8af3eddd53da730973107e5900 (diff)
now we find xlsm files as well seemingly
Diffstat (limited to 'pkg/datamaps/reader.go')
-rw-r--r--pkg/datamaps/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/datamaps/reader.go b/pkg/datamaps/reader.go
index 3f1e26d..d706d8f 100644
--- a/pkg/datamaps/reader.go
+++ b/pkg/datamaps/reader.go
@@ -250,7 +250,7 @@ func getTargetFiles(path string) ([]string, error) {
return nil, fmt.Errorf("path must end in a %s character", string(filepath.Separator))
}
- fullpath := strings.Join([]string{path, "*.xlsx"}, "")
+ fullpath := strings.Join([]string{path, "*.xls[xm]"}, "")
output, err := filepath.Glob(fullpath)
if err != nil {