Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminParisel committed Oct 7, 2024
1 parent c41ab94 commit d74930a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29720,9 +29720,11 @@ class PageFilenameStep extends validation_1.ValidationStep {
let commentBody = `## 🥙 ${this.name} \n`;
commentBody += `${this.description}\n`;
this.stepResult.results.forEach((actionResult) => {
commentBody += `- [ ] Rename **${actionResult.file}** to **${actionResult.file}**\n`;
commentBody += `- [ ] Rename **${actionResult.file}** to **${actionResult.details}**\n`;
});
commentBody += `\n \n Additionally, don't forget to add the \`:page-aliases:\` attribute after renaming the files to avoid broken links or references.`;
commentBody += `
> [!warning]
> Additionally, don't forget to add the \`:page-aliases:\` attribute after renaming the **existing files** to avoid broken links or references. `;
return commentBody;
}
toKebabCase(str) {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ export class PageFilenameStep extends ValidationStep {
let commentBody = `## 🥙 ${this.name} \n`;
commentBody += `${this.description}\n`;
this.stepResult.results.forEach((actionResult) => {
commentBody += `- [ ] Rename **${actionResult.file}** to **${actionResult.file}**\n`;
commentBody += `- [ ] Rename **${actionResult.file}** to **${actionResult.details}**\n`;
});

commentBody += `\n \n Additionally, don't forget to add the \`:page-aliases:\` attribute after renaming the files to avoid broken links or references.`;
commentBody += `
> [!warning]
> Additionally, don't forget to add the \`:page-aliases:\` attribute after renaming the **existing files** to avoid broken links or references. `;

return commentBody;
}
Expand Down

0 comments on commit d74930a

Please sign in to comment.