Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/woodchen-ink/obsidian-lskypro-upload/blob/9a3cb845cf56bb1f0bbb03c8ac4c4fe8728960e1/src/main.ts#L302)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually the adapter you expect.



---

### Optional

[[1](https://github.com/woodchen-ink/obsidian-lskypro-upload/blob/9a3cb845cf56bb1f0bbb03c8ac4c4fe8728960e1/src/main.ts#L397)]:Use `app.fileManager.trashFile(file: TAbstractFile)` instead, this will make sure that the file is deleted according to the users preferences.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.