From 4ab499deb3955c6bfcce48d2f3eb36ef23836d71 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 27 Jul 2020 08:20:15 +0100 Subject: now we find xlsm files as well seemingly --- pkg/datamaps/reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/datamaps/reader.go') 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 { -- cgit v1.2.3