diff --git a/js/plugins/SF_Core.js b/js/plugins/SF_Core.js index 5c578c8..6369282 100644 --- a/js/plugins/SF_Core.js +++ b/js/plugins/SF_Core.js @@ -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) {