paixaop / node-sodium

Port of the lib sodium encryption library to Node.js
MIT License
351 stars 126 forks source link

fix unhelpful log message with wrong MSVS version #148

Closed jabbink closed 5 years ago

jabbink commented 5 years ago

Closes #147

Right now it would crash with this error, instead of returning the helpful message about setting msvs to a different version.

    console.log('Invalid msvs_version ' + msvsVersion + '\n');
                                          ^

ReferenceError: msvsVersion is not defined