Skip to content

Commit

Permalink
chore: add change type to tokenizer
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra authored and moshloop committed Oct 25, 2024
1 parent 2162b5c commit 9a308cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changes/fingerprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func Fingerprint(change *models.ConfigChange) (string, error) {
return "", err
}

var out = make(map[string]interface{})
out := map[string]any{"__change_type": change.ChangeType}
for k, v := range flat {
out[k] = tokenizer.Tokenize(v)
}
Expand Down

0 comments on commit 9a308cb

Please sign in to comment.