krakenjs / lusca

Application security for express apps.
Other
1.78k stars 123 forks source link

Put in return to suppress promise warning #102

Closed nstuyvesant closed 7 years ago

nstuyvesant commented 7 years ago

This prevents this warning with node 7.7.4... Warning: a promise was created in a handler at Users/nates/Documents/Development/shy/node_modules/lusca/index.js:48:21 but was not returned from it, see http://goo.gl/rRqMUw

Solves issue 101.

shaunwarman commented 7 years ago

👍

linkRace commented 7 years ago

Put this in #110, so closing this one out