From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +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