Skip to content

fix: handle clipboard copy failures gracefully#169

Open
duyua9 wants to merge 1 commit intoBuilderIO:mainfrom
duyua9:fix/copy-action-clipboard-fallback
Open

fix: handle clipboard copy failures gracefully#169
duyua9 wants to merge 1 commit intoBuilderIO:mainfrom
duyua9:fix/copy-action-clipboard-fallback

Conversation

@duyua9
Copy link
Copy Markdown

@duyua9 duyua9 commented Apr 22, 2026

Summary

  • handle clipboard backend failures in the Copy action without crashing the CLI
  • print the generated script for manual copy when clipboard access is unavailable
  • add a regression test covering both fallback and success paths

Testing

  • npm run build
  • node --test test/copy-action-fallback.test.mjs

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.

1 participant