Commit e4747e8
committed
fix(plugin): use substring match in _is_hook_in_settings for backward compat
Existing installations store the old ~ format in settings.json. Exact
string comparison against the new $HOME format would fail, causing
duplicate hook registration. Match by HOOK_FILENAME substring instead.1 parent a35264c commit e4747e8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| |||
0 commit comments