diff --git a/tasks/config/project/install.js b/tasks/config/project/install.js index fcbdc687e..2a0c620f2 100644 --- a/tasks/config/project/install.js +++ b/tasks/config/project/install.js @@ -89,9 +89,10 @@ module.exports = { walk = function(directory) { var pathArray = directory.split(path.sep), - folder = pathArray[pathArray.length - 2], + folder = pathArray[pathArray.length - 1], nextDirectory = path.join(directory, path.sep, '..') ; + console.log(folder, nextDirectory); if( folder == 'bower_components') { return { name: 'Bower', diff --git a/tasks/install.js b/tasks/install.js index 7346a2149..20c382909 100644 --- a/tasks/install.js +++ b/tasks/install.js @@ -71,6 +71,9 @@ module.exports = function () { }; */ + console.log(manager); + return; + /*-------------- PM Config ---------------*/