diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-08-05 16:07:05 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-08-05 16:07:05 +0100 |
commit | b11d2b8ed71a474066878d172b21d41bd7584d96 (patch) | |
tree | bf4792ba4b0fa106b8003bc99adc93cfedaf1338 | |
parent | e25eb5b60e1db7db85c20c1ff2b7d202853bc495 (diff) |
fixed missing row in master
-rw-r--r-- | pkg/datamaps/writer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/datamaps/writer.go b/pkg/datamaps/writer.go index 72a28b3..6c28ff4 100644 --- a/pkg/datamaps/writer.go +++ b/pkg/datamaps/writer.go @@ -104,7 +104,7 @@ func CreateMaster(opts *Options) error { } } - for masterRow := 0; masterRow < len(datamapKeys); masterRow++ { + for masterRow := 0; masterRow <= len(datamapKeys); masterRow++ { r, err := sh.AddRowAtIndex(masterRow) if err != nil { return fmt.Errorf("cannot create row %d in output spreadsheet: %v", masterRow, err) |