Closed sttk closed 1 year ago
@bhoriuchi Thanks for merging!
Hey, I ran into this same problem. Nice to see it's fixed, but the fix is not available through NPM. Any chance for a new release that includes this? Currently I'm forced to use "passport-activedirectory": "bhoriuchi/passport-activedirectory"
in my package.json
.
This PR is to fix the two points causing TypeError as follows:
1) The following error is due to that
err.prorotype
is undefined.err.prototype.name
should be modified toerr.name
.2) The following error is caused after 1) is fixed. This error is disappeared by removing
': [' + err.message + ']'
.In addition, I upgrade the version of
babel-preset-es2015-rollup
indevDependencies
to solve build error.