chore: fix typos in comment-out (#1540)

Co-authored-by: Scott Densmore <scottdensmore@mac.com>
This commit is contained in:
Noritaka Kobayashi 2025-06-26 13:34:53 +09:00 committed by GitHub
parent b8ae12a109
commit dbe217828d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 8 additions and 8 deletions

View File

@ -58,7 +58,7 @@ function getSandboxCommand(
);
process.exit(1);
}
// confirm that specfied command exists
// confirm that specified command exists
if (commandExists.sync(sandbox)) {
return sandbox;
}

View File

@ -102,7 +102,7 @@ export async function main() {
const config = await loadCliConfig(settings.merged, extensions, sessionId);
// set default fallback to gemini api key
// this has to go after load cli becuase thats where the env is set
// this has to go after load cli because thats where the env is set
if (!settings.merged.selectedAuthType && process.env.GEMINI_API_KEY) {
settings.setValue(
SettingScope.User,

View File

@ -133,7 +133,7 @@ export function ThemeDialog({
let showScopeSelection = true;
let includePadding = true;
// Remove content from the LHS that can be ommitted if it exceeds the available height.
// Remove content from the LHS that can be omitted if it exceeds the available height.
if (totalLeftHandSideHeight > availableTerminalHeight) {
includePadding = false;
totalLeftHandSideHeight -= DAILOG_PADDING;

View File

@ -47,7 +47,7 @@ export const ToolMessage: React.FC<ToolMessageProps> = ({
)
: undefined;
// Long tool call response in MarkdownDisplay doesn't repect availableTerminalHeight properly,
// Long tool call response in MarkdownDisplay doesn't respect availableTerminalHeight properly,
// we're forcing it to not render as markdown when the response is too long, it will fallback
// to render as plain text, which is contained within the terminal using MaxSizedBox
if (availableHeight) {

View File

@ -21,7 +21,7 @@ import {
MINIMUM_MAX_HEIGHT,
} from '../components/shared/MaxSizedBox.js';
// Configure themeing and parsing utilities.
// Configure theming and parsing utilities.
const lowlight = createLowlight(common);
function renderHastNode(

View File

@ -150,7 +150,7 @@ export interface OnboardUserResponse {
/**
* Status code of user license status
* it does not stricly correspond to the proto
* it does not strictly correspond to the proto
* Error value is an additional value assigned to error responses from OnboardUser
*/
export enum OnboardUserStatusCode {

View File

@ -87,7 +87,7 @@ function validateHistory(history: Content[]) {
* Extracts the curated (valid) history from a comprehensive history.
*
* @remarks
* The model may sometimes generate invalid or empty contents(e.g., due to safty
* The model may sometimes generate invalid or empty contents(e.g., due to safety
* filters or recitation). Extracting valid turns from the history
* ensures that subsequent requests could be accepted by the model.
*/

View File

@ -70,7 +70,7 @@ export interface ReadManyFilesParams {
/**
* Default exclusion patterns for commonly ignored directories and binary file types.
* These are compatible with glob ignore patterns.
* TODO(adh): Consider making this configurable or extendable through a command line arguement.
* TODO(adh): Consider making this configurable or extendable through a command line argument.
* TODO(adh): Look into sharing this list with the glob tool.
*/
const DEFAULT_EXCLUDES: string[] = [