Skip to content

Commit

Permalink
fixing map reset when loading
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-watts-gravwell committed Feb 29, 2020
1 parent 8e0d007 commit 7c4c8fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/update_keyed_csv.ank
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module KeyedCSVResource {
}

func Load(nm, hdrs, kc) {
rowmp = map[string][]string{} //make sure to reset the damn map
kc = toInt(kc)
if len(hdrs) == 0 {
return errors.New("Invalid headers")
Expand Down

0 comments on commit 7c4c8fc

Please sign in to comment.