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

[fix]: fix edge case problem on Windows (if adapter calls 'readDir' on single file) #2993

Merged
merged 5 commits into from
Dec 27, 2024

Conversation

foxriver76
Copy link
Collaborator

@foxriver76 foxriver76 commented Dec 26, 2024

Link the issue which is closed by this PR

See ioBroker/ioBroker.vis-2#510

Implementation details

we now ensure, that we only call scan dir on directories

Tests

  • I have added tests to avoid a recursion of this bug
  • It is not possible to test for this bug

@foxriver76 foxriver76 requested a review from Apollon77 December 26, 2024 19:28
@foxriver76 foxriver76 changed the title [fix]: fix edge case problem on Windows (if adapter calls 'readDir' on single file [fix]: fix edge case problem on Windows (if adapter calls 'readDir' on single file) Dec 26, 2024
@foxriver76 foxriver76 merged commit 8896efe into master Dec 27, 2024
15 checks passed
@foxriver76 foxriver76 deleted the read-dir-file branch December 27, 2024 11:34
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.

2 participants