How to use resolve-from.silent:
GitHub: wspr-ncsu/mininode
35 36 37 38 39 40 41 42 43 44
* @returns {AnalyzeResult} */ module.exports.analyze = async function analyze(modul) { console.info(`[Analyzer.js] analyzing ${modul.path}`); await init(); resolve = resolveFrom.silent.bind(null, path.dirname(modul.path)); await traverse(modul); console.debug(`[Analyzer.js] ${modul.path} has scope variables ${vars}`); console.debug( `[Analyzer.js] ${modul.path} has scope assignments ${assignments}`