diff --git a/core/modules/commands/makelibrary.js b/core/modules/commands/makelibrary.js index c2e15ef37..1e0035dab 100644 --- a/core/modules/commands/makelibrary.js +++ b/core/modules/commands/makelibrary.js @@ -33,7 +33,7 @@ Command.prototype.execute = function() { tiddlers = {}; // Collect up the library plugins var collectPlugins = function(folder) { - var pluginFolders = fs.readdirSync(folder); + var pluginFolders = $tw.utils.getSubdirectories(folder); for(var p=0; p