style: 完成所有文件的lint

This commit is contained in:
claude-code-best
2026-05-01 21:39:30 +08:00
parent d136872cc9
commit 6182015005
1333 changed files with 68255 additions and 77882 deletions

View File

@@ -31,9 +31,7 @@ describe('waitForUrlEvent', () => {
test('returns a Claude URL from environment variables', async () => {
process.env.CLAUDE_CODE_URL_EVENT = 'claude-cli://prompt?q=hello'
await expect(waitForUrlEvent()).resolves.toBe(
'claude-cli://prompt?q=hello',
)
await expect(waitForUrlEvent()).resolves.toBe('claude-cli://prompt?q=hello')
})
test('returns a Claude URL from argv', async () => {

View File

@@ -9,7 +9,9 @@ const MAX_URL_LENGTH = 2048
* Callers that need to wait for an OS-level deep link activation should use
* an IPC channel or platform-specific event listener instead.
*/
export async function waitForUrlEvent(timeoutMs?: number): Promise<string | null> {
export async function waitForUrlEvent(
timeoutMs?: number,
): Promise<string | null> {
return findUrlEvent()
}