Skip to content

fix: reuse driver's ConfigManager instance instead of creating a new one #1426

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 1 commit into from
May 8, 2025

Conversation

AlCalzone
Copy link
Member

This fixes the root cause of zwave-js/zwave-js-ui#4216

When bundled with pkg, the driver is using a different filesystem abstraction. This is not available when instancing the ConfigManager directly, so loading the files with that instance will fail.
By reusing the driver's ConfigManager instance, we can avoid the issue altogether.

@AlCalzone AlCalzone merged commit 2e2ba4d into master May 8, 2025
1 check passed
@AlCalzone AlCalzone deleted the reuse-config-manager branch May 8, 2025 07:58
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