|
|
@ -410,7 +410,7 @@ var fs = require('fs'),
|
|
|
|
|
|
|
|
|
|
|
|
Plugins.showInstalled(function(err, plugins) {
|
|
|
|
Plugins.showInstalled(function(err, plugins) {
|
|
|
|
async.each(plugins, function(plugin, next) {
|
|
|
|
async.each(plugins, function(plugin, next) {
|
|
|
|
if (plugin.templates && plugin.id) {
|
|
|
|
if (plugin.templates && plugin.id && plugin.active) {
|
|
|
|
var templatesPath = path.join(__dirname, '../node_modules', plugin.id, plugin.templates);
|
|
|
|
var templatesPath = path.join(__dirname, '../node_modules', plugin.id, plugin.templates);
|
|
|
|
utils.walk(templatesPath, function(err, pluginTemplates) {
|
|
|
|
utils.walk(templatesPath, function(err, pluginTemplates) {
|
|
|
|
pluginTemplates.forEach(function(pluginTemplate) {
|
|
|
|
pluginTemplates.forEach(function(pluginTemplate) {
|
|
|
|