Closed clemkoa closed 4 years ago
Yikes— sorry, and thanks for catching this. I'm surprised that this was not caught by the linter. We'll have a patch release out shortly.
Fixed in the 1.4.3 release. We've also improved our linter settings. Thanks again.
No worries! Thanks for the quick response and release!
Describe the bug When calling
initializeInRenderer
from a renderer process in Windows, it always crashes because of the code here: https://github.com/launchdarkly/electron-client-sdk/blob/4cea9dbb9af48f11538d67ed5ad438342037f2ae/src/rendererClient.js#L56 The code in thefilePathToUrl
tries to assign a new value to the const pathNameTo reproduce Call
LDElectron.initializeInRenderer();
from a renderer process in WindowsExpected behavior It should not crash
Logs
SDK version 1.4.1
Language version, developer tools NA
OS/platform Windows 10
Additional context Happy to provide more info if needed