summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Durand <[email protected]>2025-07-21 00:36:34 +0200
committerGitHub <[email protected]>2025-07-20 22:36:34 +0000
commit0f6405e28dc60ecc4caa29b1222446d1eb5a64de (patch)
tree8cbd8dedca1f5fb4e64a5ca384f0af583f43976f
parent0996d91f0b4a0befe3553016518fd40898699f0a (diff)
fix typos in diverse files (#3550)
Co-authored-by: Pascal Birchler <[email protected]> Co-authored-by: Pascal Birchler <[email protected]> Co-authored-by: N. Taylor Mullen <[email protected]>
-rw-r--r--docs/integration-tests.md2
-rw-r--r--packages/cli/src/ui/utils/CodeColorizer.tsx2
-rw-r--r--packages/core/src/tools/mcp-tool.ts2
-rw-r--r--packages/core/src/utils/editCorrector.ts8
-rw-r--r--packages/core/src/utils/schemaValidator.ts2
5 files changed, 8 insertions, 8 deletions
diff --git a/docs/integration-tests.md b/docs/integration-tests.md
index 60dfa30b..53ddd155 100644
--- a/docs/integration-tests.md
+++ b/docs/integration-tests.md
@@ -132,7 +132,7 @@ This structure makes it easy to locate the artifacts for a specific test run, fi
## Continuous integration
-To ensure the integration tests are always run, a GitHub Actions workflow is defined in `.github/workflows/e2e.yml`. This workflow automatically runs the integration tests on every pull request and push to the `main` branch.
+To ensure the integration tests are always run, a GitHub Actions workflow is defined in `.github/workflows/e2e.yml`. This workflow automatically runs the integrations tests for pull requests against the `main` branch, or when a pull request is added to a merge queue.
The workflow runs the tests in different sandboxing environments to ensure Gemini CLI is tested across each:
diff --git a/packages/cli/src/ui/utils/CodeColorizer.tsx b/packages/cli/src/ui/utils/CodeColorizer.tsx
index 068f6689..77de9add 100644
--- a/packages/cli/src/ui/utils/CodeColorizer.tsx
+++ b/packages/cli/src/ui/utils/CodeColorizer.tsx
@@ -68,7 +68,7 @@ function renderHastNode(
return <React.Fragment>{children}</React.Fragment>;
}
- // Handle Root Node: Start recursion with initial inherited color
+ // Handle Root Node: Start recursion with initially inherited color
if (node.type === 'root') {
// Check if children array is empty - this happens when lowlight can't detect language – fallback to plain text
if (!node.children || node.children.length === 0) {
diff --git a/packages/core/src/tools/mcp-tool.ts b/packages/core/src/tools/mcp-tool.ts
index 9916d7f9..9e814bba 100644
--- a/packages/core/src/tools/mcp-tool.ts
+++ b/packages/core/src/tools/mcp-tool.ts
@@ -86,7 +86,7 @@ export class DiscoveredMCPTool extends BaseTool<ToolParams, ToolResult> {
DiscoveredMCPTool.allowlist.has(serverAllowListKey) ||
DiscoveredMCPTool.allowlist.has(toolAllowListKey)
) {
- return false; // server and/or tool already allow listed
+ return false; // server and/or tool already allowlisted
}
const confirmationDetails: ToolMcpConfirmationDetails = {
diff --git a/packages/core/src/utils/editCorrector.ts b/packages/core/src/utils/editCorrector.ts
index bff1c2f2..a770c491 100644
--- a/packages/core/src/utils/editCorrector.ts
+++ b/packages/core/src/utils/editCorrector.ts
@@ -77,10 +77,10 @@ function getTimestampFromFunctionId(fcnId: string): number {
/**
* Will look through the gemini client history and determine when the most recent
- * edit to a target file occured. If no edit happened, it will return -1
+ * edit to a target file occurred. If no edit happened, it will return -1
* @param filePath the path to the file
* @param client the geminiClient, so that we can get the history
- * @returns a DateTime (as a number) of when the last edit occured, or -1 if no edit was found.
+ * @returns a DateTime (as a number) of when the last edit occurred, or -1 if no edit was found.
*/
async function findLastEditTimestamp(
filePath: string,
@@ -132,8 +132,8 @@ async function findLastEditTimestamp(
// Use the "blunt hammer" approach to find the file path in the content.
// Note that the tool response data is inconsistent in their formatting
- // with successes and errors - so, we just check for the existance
- // as the best guess to if error/failed occured with the response.
+ // with successes and errors - so, we just check for the existence
+ // as the best guess to if error/failed occurred with the response.
const stringified = JSON.stringify(content);
if (
!stringified.includes('Error') && // only applicable for functionResponse
diff --git a/packages/core/src/utils/schemaValidator.ts b/packages/core/src/utils/schemaValidator.ts
index 0610c3bb..cb025774 100644
--- a/packages/core/src/utils/schemaValidator.ts
+++ b/packages/core/src/utils/schemaValidator.ts
@@ -36,7 +36,7 @@ export class SchemaValidator {
/**
* Converts @google/genai's Schema to an object compatible with avj.
- * This is necessry because it represents Types as an Enum (with
+ * This is necessary because it represents Types as an Enum (with
* UPPERCASE values) and minItems and minLength as strings, when they should be numbers.
*/
private static toObjectSchema(schema: Schema): object {