doyensec / electronegativity

Electronegativity is a tool to identify misconfigurations and security anti-patterns in Electron applications.
Apache License 2.0
958 stars 65 forks source link

fix: use `parserPlugins` only if they provided #95

Closed vhashimotoo closed 3 years ago

vhashimotoo commented 3 years ago

This PR fixes the programmatic usage which by default doesn't have a parserPlugins option, by adding them only if this option is provided

phosphore commented 3 years ago

Hey! Thanks for catching that 🙏