From 0ff9f53297d178da52f761b5f5d737264fadb7b1 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 3 Feb 2013 00:18:24 +0000 Subject: [PATCH] correct path --- src/node/hooks/express/tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/hooks/express/tests.js b/src/node/hooks/express/tests.js index 50fef8004..9aeaefe6a 100644 --- a/src/node/hooks/express/tests.js +++ b/src/node/hooks/express/tests.js @@ -10,7 +10,7 @@ exports.expressCreateServer = function (hook_name, args, cb) { plugins.forEach(function(plugin){ // for each one if(fs.existsSync("node_modules/"+plugin+"/tests/frontend/specs")){ // If the folder exists fs.readdir("node_modules/"+plugin+"/tests/frontend/specs/", function(err, pluginFiles){ - files.push(pluginFiles); + files.push("/static/plugins/"+plugin+"/tests/frontend/specs/"+pluginFiles); }); } });