caoxiemeihao / nuxt-electron

Integrate Nuxt and Electron
MIT License
190 stars 21 forks source link

Fixed conditional checks #26

Closed oyedejioyewole closed 1 year ago

oyedejioyewole commented 1 year ago

Your use of !== checked if the disableDefaultOptions was not equal to false and if it was production (meaning the condition was always going to be true) and didn't check if the disableDefaultOptions was a falsy value