correct path

pull/1446/head
John McLear 2013-02-03 00:18:24 +00:00
parent 594d272334
commit 0ff9f53297
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ exports.expressCreateServer = function (hook_name, args, cb) {
plugins.forEach(function(plugin){ // for each one plugins.forEach(function(plugin){ // for each one
if(fs.existsSync("node_modules/"+plugin+"/tests/frontend/specs")){ // If the folder exists if(fs.existsSync("node_modules/"+plugin+"/tests/frontend/specs")){ // If the folder exists
fs.readdir("node_modules/"+plugin+"/tests/frontend/specs/", function(err, pluginFiles){ fs.readdir("node_modules/"+plugin+"/tests/frontend/specs/", function(err, pluginFiles){
files.push(pluginFiles); files.push("/static/plugins/"+plugin+"/tests/frontend/specs/"+pluginFiles);
}); });
} }
}); });