hexo/node_modules/resolve/example/async.js

6 lines
160 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
var resolve = require('../');
resolve('tap', { basedir: __dirname }, function (err, res) {
if (err) console.error(err);
else console.log(res);
});