Permalink
Browse files

Merge pull request #6 from wlaurance/master

Upgrade to express. Closes #6
  • Loading branch information...
2 parents a7a7dfd + 974b51b commit 9c9197b1868f7d70353e620e4a0b592f3c5acc9d @guyht committed Jun 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/glog.js
View
@@ -87,7 +87,7 @@ Glog.prototype.load_articles = function(options, cb) {
// Remove incorrect extensions
for(var i=0; i<files.length; i++) {
- if(path.extname(files[i]) !== '.txt') {
+ if(path.extname(files[i]) !== '.txt' && path.extname(files[i]) !== '.md') {
console.log('Skipping file ' + files[i] + ' Incorrect extension');
files.splice(i,1);
}

0 comments on commit 9c9197b

Please sign in to comment.