Skip to content

Commit 8c1b1a0

Browse files
authored
chore: Spelling (#789)
* spelling: extension Signed-off-by: Josh Soref <[email protected]> * spelling: github Signed-off-by: Josh Soref <[email protected]> * spelling: gitlab Signed-off-by: Josh Soref <[email protected]> * spelling: overridden Signed-off-by: Josh Soref <[email protected]> * spelling: statistics Signed-off-by: Josh Soref <[email protected]> Signed-off-by: Josh Soref <[email protected]>
1 parent 9aa361e commit 8c1b1a0

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

Diff for: src/main.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ module.exports = function (argv: string[]): void {
9292
.option('--no-update-package-json', 'Do not update `package.json`. Valid only when [version] is provided.')
9393
.option(
9494
'--githubBranch <branch>',
95-
'The GitHub branch used to infer relative links in README.md. Can be overriden by --baseContentUrl and --baseImagesUrl.'
95+
'The GitHub branch used to infer relative links in README.md. Can be overridden by --baseContentUrl and --baseImagesUrl.'
9696
)
9797
.option(
9898
'--gitlabBranch <branch>',
99-
'The GitLab branch used to infer relative links in README.md. Can be overriden by --baseContentUrl and --baseImagesUrl.'
99+
'The GitLab branch used to infer relative links in README.md. Can be overridden by --baseContentUrl and --baseImagesUrl.'
100100
)
101101
.option('--no-rewrite-relative-links', 'Skip rewriting relative links.')
102102
.option('--baseContentUrl <url>', 'Prepend all relative links in README.md with this url.')
@@ -179,11 +179,11 @@ module.exports = function (argv: string[]): void {
179179
.option('-i, --packagePath <paths...>', 'Publish the provided VSIX packages.')
180180
.option(
181181
'--githubBranch <branch>',
182-
'The GitHub branch used to infer relative links in README.md. Can be overriden by --baseContentUrl and --baseImagesUrl.'
182+
'The GitHub branch used to infer relative links in README.md. Can be overridden by --baseContentUrl and --baseImagesUrl.'
183183
)
184184
.option(
185185
'--gitlabBranch <branch>',
186-
'The GitLab branch used to infer relative links in README.md. Can be overriden by --baseContentUrl and --baseImagesUrl.'
186+
'The GitLab branch used to infer relative links in README.md. Can be overridden by --baseContentUrl and --baseImagesUrl.'
187187
)
188188
.option('--baseContentUrl <url>', 'Prepend all relative links in README.md with this url.')
189189
.option('--baseImagesUrl <url>', 'Prepend all relative image links in README.md with this url.')

Diff for: src/package.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ export interface IPackageOptions {
9393
readonly cwd?: string;
9494

9595
/**
96-
* Github branch used to publish the package. Used to automatically infer
96+
* GitHub branch used to publish the package. Used to automatically infer
9797
* the base content and images URI.
9898
*/
9999
readonly githubBranch?: string;
100100

101101
/**
102-
* Gitlab branch used to publish the package. Used to automatically infer
102+
* GitLab branch used to publish the package. Used to automatically infer
103103
* the base content and images URI.
104104
*/
105105
readonly gitlabBranch?: string;
@@ -649,7 +649,7 @@ export class TagsProcessor extends BaseProcessor {
649649
[]
650650
);
651651

652-
const webExensionTags = isWebKind(this.manifest) ? ['__web_extension'] : [];
652+
const webExtensionTags = isWebKind(this.manifest) ? ['__web_extension'] : [];
653653
const sponsorTags = this.manifest.sponsor?.url ? ['__sponsor_extension'] : [];
654654

655655
const tags = new Set([
@@ -667,7 +667,7 @@ export class TagsProcessor extends BaseProcessor {
667667
...languageActivations,
668668
...grammars,
669669
...descriptionKeywords,
670-
...webExensionTags,
670+
...webExtensionTags,
671671
...sponsorTags,
672672
]);
673673

Diff for: src/search.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
ExtensionStatistic,
77
} from 'azure-devops-node-api/interfaces/GalleryInterfaces';
88
import { ratingStars, tableView, wordTrim } from './viewutils';
9-
import { ExtensionStatiticsMap } from './show';
9+
import { ExtensionStatisticsMap } from './show';
1010
const installationTarget = 'Microsoft.VisualStudio.Code';
1111
const excludeFlags = '37888'; //Value to exclude un-published, locked or hidden extensions
1212

@@ -82,7 +82,7 @@ function buildResultTableView(results: VSCodePublishedExtension[], stats: boolea
8282
function buildExtensionStatisticsText(statistics: ExtensionStatistic[]): string {
8383
const { install: installs = 0, averagerating = 0, ratingcount = 0 } = statistics?.reduce(
8484
(map, { statisticName, value }) => ({ ...map, [statisticName!]: value }),
85-
<ExtensionStatiticsMap>{}
85+
<ExtensionStatisticsMap>{}
8686
);
8787

8888
return (

Diff for: src/show.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ViewTable, formatDate, formatDateTime, ratingStars, tableView, indentRo
55
const limitVersions = 6;
66
const isExtensionTag = /^__ext_(.*)$/;
77

8-
export interface ExtensionStatiticsMap {
8+
export interface ExtensionStatisticsMap {
99
install: number;
1010
averagerating: number;
1111
ratingcount: number;
@@ -58,7 +58,7 @@ function showOverview({
5858

5959
const { install: installs = 0, averagerating = 0, ratingcount = 0 } = statistics.reduce(
6060
(map, { statisticName, value }) => ({ ...map, [statisticName!]: value }),
61-
<ExtensionStatiticsMap>{}
61+
<ExtensionStatisticsMap>{}
6262
);
6363

6464
// Render

0 commit comments

Comments
 (0)