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
having pull request issues but if you add this at line 115
if(!~file.indexOf(path.sep))returncb(newError('no path to module, and not in cache: "'+id+'" from file '+parent.filename))
it will work... and if you need a test to verify
varmdeps=require('../');vartest=require('tape');test('ignoreMissing should skip native modules if not cached',function(t){t.plan(1);varp=mdeps({ignoreMissing: true});p.on('error',function(err){t.fail(err)});p.on('missing',function(msg){t.pass(msg)});p.write(__dirname+'/files/ignore.js');p.end();});
with test/files/ignore.js:
require('fs');
The text was updated successfully, but these errors were encountered:
having pull request issues but if you add this at line 115
it will work... and if you need a test to verify
with test/files/ignore.js:
The text was updated successfully, but these errors were encountered: