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
(but probably the fix is to exit early if modules_directories contain a path pointing at a file)
The text was updated successfully, but these errors were encountered:
ento
changed the title
Specifying a file in modules_directories makes it match anything
Specifying a path to a file in modules_directories makes it match with any module name
May 12, 2018
jetpack.json
is set up like so (note thatvendor.js
is a file:Expected: fail with: I had troubles finding "non-existent-module".
Actual:
var module = require('non-existent-module')
gets compiled as:I guess it's from
jetpack/src/Resolver.hs
Line 103 in 0424c9f
(but probably the fix is to exit early if modules_directories contain a path pointing at a file)
The text was updated successfully, but these errors were encountered: