Skip to content

Commit

Permalink
fix(utils): docsUrl file name
Browse files Browse the repository at this point in the history
  • Loading branch information
artlaman committed Apr 5, 2022
1 parent 2a92749 commit fd7be5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/docs-url.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const packageJson = require("../package.json");

module.exports = function docsUrl(name) {
return `${packageJson.repository}/blob/v${packageJson.version}/rules/${name}/{name}.md`;
return `${packageJson.repository}/blob/v${packageJson.version}/rules/${name}/${name}.md`;
};

0 comments on commit fd7be5c

Please sign in to comment.