Skip to content

Commit

Permalink
Chore: deprecated rule links in readme.md (#177)
Browse files Browse the repository at this point in the history
* Chore: deprecated rule links in readme.md
fixes #176

* Add missing chnage for replacement link
  • Loading branch information
armano2 authored and mysticatea committed Sep 7, 2017
1 parent 3ed8c5c commit e59b19e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/update-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ ${
.map(entry => {
const name = entry[0]
const meta = entry[1].meta
const link = `[${name}](./rules/${name}.md)`
const replacedBy = (meta.docs.replacedBy || []).map(id => `[${id}](./rules/${id}.md)`).join(', ') || '(no replacement)'
const link = `[${name}](./docs/rules/${name}.md)`
const replacedBy = (meta.docs.replacedBy || []).map(id => `[${id}](./docs/rules/${id}.md)`).join(', ') || '(no replacement)'
return `| ${link} | ${replacedBy} |`
})
.join('\n')
Expand Down

0 comments on commit e59b19e

Please sign in to comment.