diff options
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() |