make linter happy about rename
This commit is contained in:
parent
fbbc7282c6
commit
c0dbb8635c
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ function traverseDirectory(pathname, callback) {
|
||||||
|
|
||||||
//run
|
//run
|
||||||
traverseDirectory("./docs", function(pathname) {
|
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) {
|
fs.readFile(pathname, "utf8", function(err, data) {
|
||||||
if (err) console.log(err)
|
if (err) console.log(err)
|
||||||
else lint(pathname, data)
|
else lint(pathname, data)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue