Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Rodriguez committed May 29, 2014
1 parent 504ef69 commit ab76d49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions lib/index.js
Expand Up @@ -81,11 +81,9 @@ module.exports = function buffet (pattern, options) {
}
})
.once('ready', function (files) {
console.log("options.cwd", options.cwd);
files.forEach(function (file) {
if (file.stat.isDirectory()) return;
var urlPath = file.fullPath.replace(options.cwd, '').replace(/\\/g, '/');
console.log('urlPath', urlPath);
try {
cache[urlPath] = dish.file(file.fullPath, options);
// Index support
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -29,12 +29,12 @@
"buffer"
],
"devDependencies": {
"benchmarx": "~0.2.0",
"idgen": "^2.0.2",
"mocha": "*",
"idgen": "1.x",
"rimraf": "2.x",
"ncp": "~0.2.6",
"benchmarx": "~0.2.0",
"request": "~2.11.4"
"request": "~2.11.4",
"rimraf": "2.x"
},
"optionalDependencies": {},
"engines": {
Expand Down

0 comments on commit ab76d49

Please sign in to comment.