Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

chore: update internal Node.js function call #4

Closed
wants to merge 1 commit into from

Conversation

BridgeAR
Copy link

@BridgeAR BridgeAR commented Apr 5, 2019

This updates the call to _resolveLookupPaths. It returns a string
by default since Node.js v8 when called with a third truthy argument.
The backwards compatible return value should change soon, so detect
what return type is used and handle both cases.

Refs: nodejs/node#26983

@BridgeAR BridgeAR force-pushed the future-proof branch 2 times, most recently from c8384dc to 0ca2c75 Compare April 5, 2019 23:36
This updates the call to `_resolveLookupPaths`. It returns a string
by default since Node.js v8 when called with a third truthy argument.
The backwards compatible return value should change soon, so detect
what return type is used and handle both cases.
@BridgeAR
Copy link
Author

BridgeAR commented Apr 8, 2019

@ofrobots @kjin @vmarchaud PTAL

@vmarchaud
Copy link
Contributor

@BridgeAR Thanks for taking the time to make the PR but this module isn't used anymore, i will deprecate it

@vmarchaud vmarchaud closed this Apr 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants