Skip to content

Commit b608f0c

Browse files
committed
fix typos
1 parent ae4c598 commit b608f0c

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,4 +250,4 @@ To add new icons to the GL Icons font follow the steps below:
250250
251251
```
252252

253-
Once you've finshed copy the new `glicons.woff2?<uuid>` URL from `src/webviews/apps/shared/glicons.scss` and search and replace the old references with the new one.
253+
Once you've finished copy the new `glicons.woff2?<uuid>` URL from `src/webviews/apps/shared/glicons.scss` and search and replace the old references with the new one.

src/@types/vscode.proposed.languageModels.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,13 @@ declare module 'vscode' {
215215
*/
216216
export class LanguageModelError extends Error {
217217
/**
218-
* The requestor does not have permissions to use this
218+
* The requester does not have permissions to use this
219219
* language model
220220
*/
221221
static NoPermissions(message?: string): LanguageModelError;
222222

223223
/**
224-
* The requestor is blocked from using this language model.
224+
* The requester is blocked from using this language model.
225225
*/
226226
static Blocked(message?: string): LanguageModelError;
227227

src/env/node/git/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export type GitResult<T extends string | Buffer | unknown> = {
231231

232232
export class Git implements Disposable {
233233
private readonly _disposable: Disposable;
234-
/** Map of running git commands -- avoids running duplicate overlaping commands */
234+
/** Map of running git commands -- avoids running duplicate overlapping commands */
235235
private readonly pendingCommands = new Map<string, Promise<RunResult<string | Buffer>>>();
236236

237237
constructor(container: Container) {

src/plus/gk/__debug__accountDebug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class AccountDebug {
197197
iconPath: new ThemeIcon('blank'),
198198
item: { state: SubscriptionState.Paid, planId: 'enterprise' },
199199
},
200-
// TODO: Update this subscription state once we have a "paid expired" state availale
200+
// TODO: Update this subscription state once we have a "paid expired" state available
201201
{
202202
label: 'Paid (Expired)',
203203
description: 'Community, account',

src/plus/integrations/authentication/cloudIntegrationService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class CloudIntegrationService {
8787
}
8888

8989
if (refresh) {
90-
// try once to just get the lastest token if the refresh fails, and give up if that fails too
90+
// try once to just get the latest token if the refresh fails, and give up if that fails too
9191
const newTokenRsp = await this.connection.fetchGkApi(
9292
`v1/provider-tokens/${cloudIntegrationType}`,
9393
{ method: 'GET' },

src/plus/integrations/providers/bitbucket/bitbucket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export class BitbucketApi implements Disposable {
463463
if (ex.original instanceof ProviderFetchError) {
464464
const json = await ex.original.response.json();
465465
if (json?.error === 'Invalid or unknown installation') {
466-
// TODO: In future get it on to home as an worning on the integratin istelf "this integration has issues"
466+
// TODO: In future get it on to home as an warning on the integration itself "this integration has issues"
467467
// even user suppresses the message it's still visible with some capacity. It's a broader thing to get other errors.
468468
const commitWebUrl = `https://bitbucket.org/${owner}/${repo}/commits/${rev}`;
469469
void showBitbucketPRCommitLinksAppNotInstalledWarningMessage(commitWebUrl);

src/system/-webview/asyncDebouncer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface AsyncTask<T> {
1818
* Here the debouncer returns a promise that awaits task for completion.
1919
* Also we can let tasks know if they are cancelled by passing a cancellation token.
2020
*
21-
* Despite being able to accept synchronous tasks, we always return a promise here. It's implemeted this way for simplicity.
21+
* Despite being able to accept synchronous tasks, we always return a promise here. It's implemented this way for simplicity.
2222
*/
2323
export function createAsyncDebouncer<T>(
2424
delay: number,
@@ -97,7 +97,7 @@ export function createAsyncDebouncer<T>(
9797
} catch (e) {
9898
if (cancellation.token.isCancellationRequested) {
9999
// The current execution has been cancelled so we don't want to reject the main promise,
100-
// because that's expected that it can be fullfilled by the next task.
100+
// because that's expected that it can be fulfilled by the next task.
101101
// (If the whole task is cancelled, the main promise will be rejected in the cancel() method)
102102
if (curDeferred !== deferred && deferred.pending) {
103103
// Unlikely we get here, but if the local `deferred` is different from the main one, then we cancel it to not let the clients hang.

src/system/color.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ export function formatHex(color: Color): string {
636636

637637
/**
638638
* Formats the color as #RRGGBBAA
639-
* If 'compact' is set, colors without transparancy will be printed as #RRGGBB
639+
* If 'compact' is set, colors without transparency will be printed as #RRGGBB
640640
*/
641641
export function formatHexA(color: Color, compact = false): string {
642642
if (compact && color.rgba.a === 1) {

src/system/promise.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type PromiseOrValue<T> = Promise<T> | T;
66
export function any<T>(...promises: Promise<T>[]): Promise<T> {
77
return new Promise<T>((resolve, reject) => {
88
let settled = false;
9-
const onFullfilled = (r: T) => {
9+
const onFulfilled = (r: T) => {
1010
settled = true;
1111
resolve(r);
1212
};
@@ -31,7 +31,7 @@ export function any<T>(...promises: Promise<T>[]): Promise<T> {
3131
};
3232

3333
for (const promise of promises) {
34-
promise.then(onFullfilled, onRejected);
34+
promise.then(onFulfilled, onRejected);
3535
}
3636
});
3737
}

src/webviews/apps/plus/shared/components/account-chip.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,10 @@ export class GlAccountChip extends LitElement {
442442
},
443443
},
444444
)}"
445-
aria-label="Ugrade to Advanced"
445+
aria-label="Upgrade to Advanced"
446446
><span class="upgrade-button">Upgrade</span
447447
><span slot="tooltip"
448-
>Ugrade to the Advanced plan for access to self-hosted integrations,
448+
>Upgrade to the Advanced plan for access to self-hosted integrations,
449449
advanced AI features @ 500K tokens/week, and more</span
450450
>
451451
</gl-button>

0 commit comments

Comments
 (0)