Commit 50adf7c
committed
Make pre-commit executable; clarify sanitizer note
Make the .husky/pre-commit script executable and add a POSIX shebang so the hook runs reliably. In src/utils/options.ts, add a clarifying comment explaining that sanitizers return null when the input is already bridge-safe (e.g. trimStringFields), and that using `sanitizer(value) !== null` is a valid dirty-check without a separate traversal. No functional logic changes.1 parent 29dbda9 commit 50adf7c
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
| |||
0 commit comments