Skip to content

Commit

Permalink
fix: supports token values that are numeric
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjhicks authored and GarthDB committed Oct 10, 2024
1 parent e360529 commit c522493
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/diff-generator/src/lib/updated-token-detection.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ function includeOldProperties(
) {
return;
}
if (typeof curTokenLevel[property] === "string") {
if (
typeof curTokenLevel[property] === "string" ||
typeof curTokenLevel[property] === "number"
) {
const newValue = curTokenLevel[property];
const path = !properties.includes(".")
? property
Expand Down

0 comments on commit c522493

Please sign in to comment.