Closed markogresak closed 7 years ago
Immediately before returning this promise, you need to verify that the code has the right scope for you to scan. It looks like you have that check inside the promise, so it just needs to be moved.
here is the check js-hyperclick uses to make sure I'm only scanning JavaScript files.
@markogresak, @AsaAyers, thanks a lot for debugging this :heart: I was able to replicate the issue by installing js-hyperclick
. @AsaAyers, thank you for pointing out the needed fix! Also, great package! I'm using it right now :smiley:
As discussed here: https://github.com/AsaAyers/js-hyperclick/issues/53
Not sure why it's overriding hyperclick in js files. Can this be fixed or at least a way to select where the hyperclick provider should work? I love the package when working with elm, but for now, I'll have to keep it disabled when working in js.