Skip to content

Commit

Permalink
Ignore _docs and display a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jhs committed Feb 7, 2012
1 parent 97baa09 commit 2c768d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ module.exports = function (root, dir, settings, doc, callback) {

if (f === '_attachments')
utils.loadAttachments(dir + '/_attachments', p, doc, cb)
else
else if(f === '_docs') {
console.error('Additional docs unsupported: ' + p)
return cb()
} else
utils.loadFiles(dir, p, doc, cb)
},
function (err) {
Expand Down

0 comments on commit 2c768d6

Please sign in to comment.