Closed raphinesse closed 6 years ago
Previously, when NODE_PATH had a trailing separator like /foo:/bar:, resolving a module would hang indefinitely when the module was not found. This PR fixes that.
/foo:/bar:
The bug was introduced in #44.
Previously, when NODE_PATH had a trailing separator like
/foo:/bar:
, resolving a module would hang indefinitely when the module was not found. This PR fixes that.The bug was introduced in #44.