mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-16 00:51:25 -07:00
docs: fix typos in source code and documentation (#13577)
This commit is contained in:
@@ -88,7 +88,7 @@ export const createMockCommandContext = (
|
||||
const targetValue = output[key];
|
||||
|
||||
if (
|
||||
// We only want to recursivlty merge plain objects
|
||||
// We only want to recursively merge plain objects
|
||||
Object.prototype.toString.call(sourceValue) === '[object Object]' &&
|
||||
Object.prototype.toString.call(targetValue) === '[object Object]'
|
||||
) {
|
||||
|
||||
@@ -185,7 +185,7 @@ export const DebugProfiler = () => {
|
||||
return;
|
||||
}
|
||||
// Only update the UX infrequently as updating the UX itself will cause
|
||||
// frames to run so can disturb what we are measuing.
|
||||
// frames to run so can disturb what we are measuring.
|
||||
const forceRefreshInterval = setInterval(() => {
|
||||
setForceRefresh((f) => f + 1);
|
||||
profiler.reportAction();
|
||||
|
||||
@@ -708,7 +708,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
|
||||
// newline that was part of the paste.
|
||||
// This has the added benefit that in the worst case at least users
|
||||
// get some feedback that their keypress was handled rather than
|
||||
// wondering why it was completey ignored.
|
||||
// wondering why it was completely ignored.
|
||||
buffer.newline();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -293,7 +293,7 @@ describe('useSlashCompletion', () => {
|
||||
const hook = renderHook(() =>
|
||||
useTestHarnessForSlashCompletion(
|
||||
true,
|
||||
'/usag',
|
||||
'/usage',
|
||||
slashCommands,
|
||||
mockCommandContext,
|
||||
),
|
||||
|
||||
@@ -19,7 +19,7 @@ import { type ReactNode } from 'react';
|
||||
export type { ThoughtSummary };
|
||||
|
||||
export enum AuthState {
|
||||
// Attemtping to authenticate or re-authenticate
|
||||
// Attempting to authenticate or re-authenticate
|
||||
Unauthenticated = 'unauthenticated',
|
||||
// Auth dialog is open for user to select auth method
|
||||
Updating = 'updating',
|
||||
|
||||
Reference in New Issue
Block a user