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

[[1](https://github.com/cloud-atlas-ai/obsidian-client/blob/d13a5ee22fa557cfb94f2cd85fbeb5057eb6c8e0/src/main.ts#L181-L183)][[2](https://github.com/cloud-atlas-ai/obsidian-client/blob/d13a5ee22fa557cfb94f2cd85fbeb5057eb6c8e0/src/main.ts#L280)][[3](https://github.com/cloud-atlas-ai/obsidian-client/blob/d13a5ee22fa557cfb94f2cd85fbeb5057eb6c8e0/src/main.ts#L367)][[4](https://github.com/cloud-atlas-ai/obsidian-client/blob/d13a5ee22fa557cfb94f2cd85fbeb5057eb6c8e0/src/main.ts#L403)][[5](https://github.com/cloud-atlas-ai/obsidian-client/blob/d13a5ee22fa557cfb94f2cd85fbeb5057eb6c8e0/src/main.ts#L931)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually a file/folder



---

[[1](https://github.com/cloud-atlas-ai/obsidian-client/blob/d13a5ee22fa557cfb94f2cd85fbeb5057eb6c8e0/src/main.ts#L377)][[2](https://github.com/cloud-atlas-ai/obsidian-client/blob/d13a5ee22fa557cfb94f2cd85fbeb5057eb6c8e0/src/main.ts#L407)]:Casting to `any` should be avoided as much as possible.



---



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