diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-08-01 19:25:16 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-08-01 19:28:05 +0100 |
commit | 1fa9157f4b035198ecdd93490e31301c1071317d (patch) | |
tree | 73f65b13de0908e42e61c81cfb08967e2484c482 /pkg/datamaps/config.go | |
parent | add51ef91b96e604c00b447f58d5df5fa638b90e (diff) |
tidying linting and checker errors
Diffstat (limited to 'pkg/datamaps/config.go')
-rw-r--r-- | pkg/datamaps/config.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkg/datamaps/config.go b/pkg/datamaps/config.go index 7311fba..f370ba4 100644 --- a/pkg/datamaps/config.go +++ b/pkg/datamaps/config.go @@ -155,10 +155,13 @@ func defaultOptions() *Options { } dmPath, err := defaultDMPath() - xlsxPath, err := defaultXLSXPath() + if err != nil { + log.Fatalf("unable to get default datamaps directory path: %v", err) + } + xlsxPath, err := defaultXLSXPath() if err != nil { - log.Fatalf("Unable to get default datamaps directory %v", err) + log.Fatalf("unable to get default XLSX directory path: %v", err) } homeDir, err := os.UserHomeDir() |