-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
index.js
Outdated
@@ -1,3 +1,5 @@ | |||
/* eslint-disable prefer-arrow-callback */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, my auto eslint kept changing my functions into arrow functions so I added that to stop them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with arrows all over
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But not eslint ignores
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what minimum version of node you want to support but arrow functions were added a bit later.
I've resolved this in the latest commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node 4 is the lowest :)
I think some sort of |
Ignore this |
This next commit uses recursion to dedupe the code |
@rvaidya, is there any progress on this one ? |
My last commit works and is still waiting for review, there isn't anything more I can do on my end |
Oh, I was under impression you didn't finalize the PR (it still has failing checks). Maybe I was wrong. @SimenB, could you please speed up the process from your side? |
@SimenB, any news? |
@SimenB Is there a chance to merge this PR? The issue blocks Jest upgrade and we're forced to use version 23. v24 was published 6 month ago and v25 is coming soon, however the issue is still unresolved. I'd appreciate if you could comment it. |
What would be neccessary to get this merged? Do you need any help on this? This stops me being able to use a RAM-disk (#35). |
I've published a v3 and deprecated it - all current releases of node supports Jest 26 no longer depends on this module. |
Not the cleanest of solutions but it works - limiting the check to the specific error message we get from node in this situation.
Could try to deduplicate repeated code in the realpath function but that might hurt readability.