Skip to content

Commit

Permalink
Update dev/new-rule/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MelSumner authored Feb 28, 2020
1 parent 7fd4694 commit c0bfd93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/new-rule/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function createNewRuleDocFile(newRuleName) {
let pathDocTemplate = path.join(pathTemplates, 'doc.md');
let pathDocNew = path.join(pathRoot, 'docs', 'rule', `${newRuleName}.md`);
let orgContent = fs.readFileSync(pathDocTemplate, { encoding: 'utf8' });
let placeholderDocTemplate = '(rule name goes here)';
let placeholderDocTemplate = '(TODO: rule name goes here)';
let outContent = orgContent.replace(placeholderDocTemplate, newRuleName);
fs.writeFileSync(pathDocNew, outContent);
console.log(
Expand Down

0 comments on commit c0bfd93

Please sign in to comment.