reZach / secure-electron-store

A secure electron-store that uses ipcMain/ipcRenderer.
MIT License
51 stars 2 forks source link

Fix mainInitialStore when running without a previous store #5

Closed morwoen closed 3 years ago

morwoen commented 3 years ago

On 966 the message was using args which is not defined, this was causing the application to crash.

Line 972, needs to be the parsed object as the behaviour of the rest of the function is to return the parsed value rather than the stringified.

sonarcloud[bot] commented 3 years ago

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability E 3 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell E 27 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

reZach commented 3 years ago

Thanks for creating this bug fix @morwoen! I'll move a new version up to NPM shortly.

reZach commented 3 years ago

@morwoen v1.4.0 is pushed live.

morwoen commented 3 years ago

Thanks a lot @reZach ‼️ :)