Skip to content

Commit c4714d7

Browse files
chinesedfantransitive-bullshit
authored andcommittedApr 7, 2019
Fix position of license message (#72)
1 parent ece6ce7 commit c4714d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎rules/license.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = rule('remark-lint:awesome/license', (ast, file) => {
1717
}
1818

1919
if (license.depth !== 2) {
20-
file.message('License section must be at heading depth 2', ast);
20+
file.message('License section must be at heading depth 2', license);
2121
return;
2222
}
2323

0 commit comments

Comments
 (0)
Please sign in to comment.