From b26755133a9a976f26e363d86b6b9d7fe8351422 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 6 Apr 2022 21:02:05 +0800 Subject: [PATCH] chore: fix test example error. --- test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index ebe170d..d0a1650 100644 --- a/test/index.js +++ b/test/index.js @@ -1,7 +1,7 @@ const { readdir, readdirAsync, uidToName, getStat, chmod } = require('../'); const path = require('path'); -readdir('/').then((files) => { +readdir('/opt/').then((files) => { files.map((Stats) => { console.log('Statss:1', Stats); });