Skip to content

Fix crash for unknown devices (Issue #2531) #2534

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

Merged
merged 5 commits into from
Jul 18, 2025

Conversation

asgothian
Copy link
Collaborator

No description provided.

Undo PR ioBroker#2523
Fix Icon Error
Use latest Herdsman
src = path.normalize(this.adapter.expandFileName(path.join('img',path.basename(src))));
} // img/<filename> relative to data folder
if (!fs.existsSync(src)) {
this.warn(`Unable to copy icon from device definition, looked at ${locations.join(', ')} and ${src}`)

Check notice

Code scanning / CodeQL

Semicolon insertion Note

Avoid automated semicolon insertion (92% of all statements in
the enclosing function
have an explicit semicolon).
@asgothian asgothian merged commit 253c2fc into ioBroker:master Jul 18, 2025
16 of 17 checks passed
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.

1 participant