make linter happy about rename

This commit is contained in:
Leo Horie 2016-12-02 22:01:15 -05:00
parent fbbc7282c6
commit c0dbb8635c

View file

@ -135,7 +135,7 @@ function traverseDirectory(pathname, callback) {
//run
traverseDirectory("./docs", function(pathname) {
if (pathname.indexOf(".md") > -1 && !pathname.match(/migration|node_modules/)) {
if (pathname.indexOf(".md") > -1 && !pathname.match(/change-log|node_modules/)) {
fs.readFile(pathname, "utf8", function(err, data) {
if (err) console.log(err)
else lint(pathname, data)