Skip to content

fix: use TEMP_DIR instead of hardcoded /tmp in cookie-import (#708)#715

Closed
stedfn wants to merge 1 commit intogarrytan:mainfrom
stedfn:stedfn/fix-hardcoded-tmp
Closed

fix: use TEMP_DIR instead of hardcoded /tmp in cookie-import (#708)#715
stedfn wants to merge 1 commit intogarrytan:mainfrom
stedfn:stedfn/fix-hardcoded-tmp

Conversation

@stedfn
Copy link
Copy Markdown
Contributor

@stedfn stedfn commented Mar 31, 2026

Summary

  • Replaces hardcoded /tmp in openDbFromCopy() with platform-aware TEMP_DIR from ./platform
  • Matches the convention used throughout the rest of the browse codebase

Fixes #708

Test plan

  • bun test passes
  • bun run build succeeds

🤖 Generated with Claude Code

…n#708)

Replace hardcoded `/tmp` path with the platform-aware `TEMP_DIR` from
`./platform`, matching the convention used throughout the browse codebase.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@garrytan
Copy link
Copy Markdown
Owner

garrytan commented Apr 5, 2026

Closing — overlaps with #748 which addresses the same issue. Thank you for the contribution!

@garrytan garrytan closed this Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cross-platform: hardcoded /tmp in cookie-import-browser.ts

2 participants