Skip to content
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

BUG: Exception in canvas logic prevents finding orphaned files #66

Closed
aarononeal opened this issue Aug 11, 2024 · 1 comment
Closed

Comments

@aarononeal
Copy link

Exception:

plugin:find-unlinked-files:637 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach')
    at eval (plugin:find-unlinked-files:637:33)
    at async Promise.all (index 0)
    at async FindOrphanedFilesPlugin.findOrphanedFiles (plugin:find-unlinked-files:681:5)

Specifically here:

await Promise.all(canvasParsingPromises);

Due to nodes being undefined:

canvasFileContent.nodes.forEach((node) => {
}
@Vinzent03
Copy link
Owner

Thanks for the report. Should be fixed in the new version.

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

No branches or pull requests

2 participants