Commit 9ae2838
committed
Fix dead code and uninstall regression in hook installer
- Remove unused _entry_matches_command function (dead code never called)
- Fix _strip_command_from_matcher_entry to preserve entries that don't
contain the target command (previously entries with empty hooks arrays
were silently dropped even if unrelated to primer)1 parent ab01dae commit 9ae2838
1 file changed
Lines changed: 2 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | 183 | | |
202 | 184 | | |
203 | 185 | | |
| |||
207 | 189 | | |
208 | 190 | | |
209 | 191 | | |
| 192 | + | |
| 193 | + | |
210 | 194 | | |
211 | 195 | | |
212 | 196 | | |
| |||
0 commit comments