aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg/datamaps/writer.go2
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)