(input: ActivityInput)
| 625 | * No-op when the repo already has its own .playwright/cli.config.json. |
| 626 | */ |
| 627 | export async function syncPlaywrightStealthConfig(input: ActivityInput): Promise<void> { |
| 628 | const logger = createActivityLogger(); |
| 629 | const { result, configPath } = await writePlaywrightStealthConfig(input.repoPath); |
| 630 | if (result === 'skipped-existing') { |
| 631 | logger.info(`Playwright stealth config: leaving existing ${configPath} in place`); |
| 632 | } else { |
| 633 | logger.info(`Playwright stealth config: wrote ${configPath}`); |
| 634 | } |
| 635 | } |
| 636 | |
| 637 | /** |
| 638 | * Sync code_path avoid rules into Claude's user-scope settings.json so the |
nothing calls this directly
no test coverage detected