Skip to content

Commit

Permalink
chore: add debug logs for recategorization
Browse files Browse the repository at this point in the history
  • Loading branch information
dbajpeyi committed Feb 7, 2025
1 parent a66a2bb commit d342f14
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/autofill-debug.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/autofill.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/Form/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ class Form {
this.decorateInput(ambiguousInput);
this.inputs[getMainTypeFromType(targetType)].add(ambiguousInput);
this.inputs[getMainTypeFromType(inputType)].delete(ambiguousInput);
if (shouldLog()) console.log(`Recategorized input from ${inputType} to ${targetType}`, ambiguousInput);
}
}

Expand Down
1 change: 1 addition & 0 deletions swift-package/Resources/assets/autofill-debug.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions swift-package/Resources/assets/autofill.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d342f14

Please sign in to comment.