(loc: Location)
| 392 | * opts out, so the choice round-trips. |
| 393 | */ |
| 394 | export function removePromptHookEntry(loc: Location): WriteResult['files'][number] { |
| 395 | return removeHookCommandsMatching(loc, isPromptHookCommand); |
| 396 | } |
| 397 | |
| 398 | export function writePermissionsEntry(loc: Location): WriteResult['files'][number] { |
| 399 | const file = settingsJsonPath(loc); |
no test coverage detected