You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug SiteChecker.prototype.on is not a function
To Reproduce
const{ SiteChecker }=require('broken-link-checker');const{ EventEmitter }=require('events');constsiteChecker=newSiteChecker({});console.log(siteCheckerinstanceofEventEmitter);// logs: falsesiteChecker.on('end',()=>{});// Error, ".on" is not a function
Expected behavior
to correctly inherit EventEmitter, or at least provide the mentioned functions
Describe the bug
SiteChecker.prototype.on
is not a functionTo Reproduce
Expected behavior
to correctly inherit
EventEmitter
, or at least provide the mentioned functionsfrom the documentation:
Environment:
It seems like this issue would be solved if 0.8.0 would be released, as requested in #244
The text was updated successfully, but these errors were encountered: