From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试
---
node_modules/resolve/test/node_path.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/node_modules/resolve/test/node_path.js b/node_modules/resolve/test/node_path.js
index e463d6c..5ddd310 100644
--- a/node_modules/resolve/test/node_path.js
+++ b/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: [
--
Gitblit v1.9.3