Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

allow .md files

  • Loading branch information...
commit 417e65c0d363b57194436341aafdfbfc6f76738a 1 parent bb7e3a4
@wlaurance wlaurance authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/glog.js
View
2  lib/glog.js
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.