Skip to content

Commit

Permalink
fix(rule): fix dict path
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jun 19, 2016
1 parent 76f2022 commit e22c67a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"files": [
"src/",
"dict/",
"lib/"
],
"version": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions src/textlint-rule-ja-no-abusage.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const reporter = (context) => {
});
const prhLinter = prh.linter;
const prhStr = prhLinter(context, {
ruleContents:[
fs.readFileSync(path.join(__dirname, "prh.yml"))
ruleContents: [
fs.readFileSync(path.join(__dirname, "..", "prh.yml"))
]
});
return {
Expand Down

0 comments on commit e22c67a

Please sign in to comment.