-
Notifications
You must be signed in to change notification settings - Fork 408
fix: gencode faild when previous user dirhandle was deleted #1543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
WalkthroughAn asynchronous function, Changes
Estimated code review effort2 (~15 minutes) Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧠 Learnings (2)📓 Common learnings
packages/toolbars/generate-code/src/Main.vue (4)Learnt from: yy-wow Learnt from: yy-wow Learnt from: yy-wow Learnt from: rhlin 🧰 Additional context used🧠 Learnings (2)📓 Common learnings
packages/toolbars/generate-code/src/Main.vue (4)Learnt from: yy-wow Learnt from: yy-wow Learnt from: yy-wow Learnt from: rhlin ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
English | 简体中文
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Background and solution
【问题描述】
出码时,如果将前面一次选择授权的文件夹删除了,后面出码会失败
【解决方案】
每次出码前,判断用户的 dirhandle 是否还有效,如果已经失效了,则重新获取授权。
额外:出码成功 Tips 增加出码文件夹(dirHandle.name )的提示。
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
New Features
Bug Fixes