diff --git a/.github/actions-scripts/content-changes-table-comment.js b/.github/actions-scripts/content-changes-table-comment.js index 717a9d5e8b..24f21b5cc8 100755 --- a/.github/actions-scripts/content-changes-table-comment.js +++ b/.github/actions-scripts/content-changes-table-comment.js @@ -80,7 +80,7 @@ for (const file of articleFiles) { for (const plan of shortAndPlanNames) { // walk by the plan names since we generate links differently for most plans - const versions = fileVersions.filter((fileVersion) => fileVersion.indexOf(plan[1]) !== -1) + const versions = fileVersions.filter((fileVersion) => fileVersion.includes(plan[1])) // plan[0] is the shortName (i.e., fpt) // plan[1] is the planName (i.e., free-pro-team)