WXL
3 天以前 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1
node_modules/resolve/test/node_path.js
@@ -6,7 +6,7 @@
test('$NODE_PATH', function (t) {
    t.plan(8);
    var isDir = function (dir, cb) {
    function isDir(dir, cb) {
        if (dir === '/node_path' || dir === 'node_path/x') {
            return cb(null, true);
        }
@@ -17,7 +17,7 @@
            if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false);
            return cb(err);
        });
    };
    }
    resolve('aaa', {
        paths: [