From fe42801442c37136a45d1fde2eda557103ccdd47 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 6 Mar 2024 13:53:23 -0500 Subject: [PATCH] Spelling in scripts: `e.g.` means `exempli gratia` --- .../lib/linting-rules/github-owned-action-references.js | 2 +- src/search/scripts/analyze-text.js | 2 +- src/search/scripts/index-elasticsearch.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content-linter/lib/linting-rules/github-owned-action-references.js b/src/content-linter/lib/linting-rules/github-owned-action-references.js index e965803a5d4cf..16f2f8e5c7eda 100644 --- a/src/content-linter/lib/linting-rules/github-owned-action-references.js +++ b/src/content-linter/lib/linting-rules/github-owned-action-references.js @@ -28,7 +28,7 @@ export const githubOwnedActionReferences = { addError( onError, lineNumber, - `The string ${match} is hardcoding a reference to a GitHub-owned action. You should use the reusables for the action. e.g {% data reusables.actions.action-checkout %}.`, + `The string ${match} is hardcoding a reference to a GitHub-owned action. You should use the reusables for the action. e.g. {% data reusables.actions.action-checkout %}.`, ellipsify(line), range, null, // No fix possible diff --git a/src/search/scripts/analyze-text.js b/src/search/scripts/analyze-text.js index 17e6e0e12212e..b314a2bf24396 100755 --- a/src/search/scripts/analyze-text.js +++ b/src/search/scripts/analyze-text.js @@ -24,7 +24,7 @@ import { allVersions } from '#src/versions/lib/all-versions.js' dotenv.config() // Create an object that maps the "short name" of a version to -// all information about it. E.g +// all information about it. E.g. // // { // 'ghes-3.5': { diff --git a/src/search/scripts/index-elasticsearch.js b/src/search/scripts/index-elasticsearch.js index cbcc92523fed1..9062c2809d916 100755 --- a/src/search/scripts/index-elasticsearch.js +++ b/src/search/scripts/index-elasticsearch.js @@ -23,7 +23,7 @@ import { allVersions } from '#src/versions/lib/all-versions.js' dotenv.config() // Create an object that maps the "short name" of a version to -// all information about it. E.g +// all information about it. E.g. // // { // 'ghes-3.5': {