Skip to content

Commit

Permalink
Manually setting ignored folders due to node-unique-extensions upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjoelkemp committed Mar 18, 2014
1 parent 0b362ca commit 82e5344
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,12 @@ function installDependencies() {

// Returns all extensions found in the current directory
function getUniqueExtensions() {
// Folders to ignore
var exclusions = ['node_modules', '.git', '.sass-cache', 'bower_components', 'vendor'];

// Grab list of extensions used in the supplied directory
// TODO: If async version is needed, return promise that resolves with list
return gux(this.directory);
return gux(this.directory, exclusions);
}

// Returns a system-supported subset of the given list
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"license": "MIT",
"dependencies": {
"q": "~1.0.0",
"node-unique-extensions": "~1.0.0"
"node-unique-extensions": "~2.0.0"
},
"bin": {
"ya": "bin/ya.js"
Expand Down

0 comments on commit 82e5344

Please sign in to comment.