完善了FileUtils.list

main
Salted 2 years ago
parent 10d25856f9
commit fcd2bf48a6
Signed by: SaltedFish
GPG Key ID: FCF3F47D9BD7AD42

@ -575,8 +575,8 @@ var SF_Plugins = SF_Plugins || {};
return fs.statSync(fileName).size;
}
FileUtils.list = function () {
FileUtils.list = function (dirName) {
return fs.readdirSync(dirName);
}
FileUtils.mkdir = function (fileName) {

Loading…
Cancel
Save