fix: typos

pull/176764/head
yiliang114 2023-03-09 23:13:17 +08:00
parent 1b6f8ebd88
commit ef3dbb5e11
4 changed files with 7 additions and 7 deletions

View File

@ -83,7 +83,7 @@ const buildDate = new Date().toISOString();
*/
const createVSCodeWebProductConfigurationPatcher = (product) => {
/**
* @param content {string} The contens of the file
* @param content {string} The contents of the file
* @param path {string} The absolute file path, always using `/`, even on Windows
*/
const result = (content, path) => {
@ -108,7 +108,7 @@ const createVSCodeWebProductConfigurationPatcher = (product) => {
*/
const createVSCodeWebBuiltinExtensionsPatcher = (extensionsRoot) => {
/**
* @param content {string} The contens of the file
* @param content {string} The contents of the file
* @param path {string} The absolute file path, always using `/`, even on Windows
*/
const result = (content, path) => {
@ -128,7 +128,7 @@ const createVSCodeWebBuiltinExtensionsPatcher = (extensionsRoot) => {
*/
const combineContentPatchers = (...patchers) => {
/**
* @param content {string} The contens of the file
* @param content {string} The contents of the file
* @param path {string} The absolute file path, always using `/`, even on Windows
*/
const result = (content, path) => {

View File

@ -202,7 +202,7 @@ export interface IOptimizeAMDTaskOpts {
languages?: Language[];
/**
* File contents interceptor
* @param contents The contens of the file
* @param contents The contents of the file
* @param path The absolute file path, always using `/`, even on Windows
*/
fileContentMapper?: (contents: string, path: string) => string;

View File

@ -507,7 +507,7 @@ export class InstallAction extends AbstractInstallAction {
@IDialogService dialogService: IDialogService,
@IPreferencesService preferencesService: IPreferencesService,
@IExtensionManagementServerService private readonly extensionManagementServerService: IExtensionManagementServerService,
@IWorkbenchExtensionManagementService private readonly workbenchExtensioManagementService: IWorkbenchExtensionManagementService,
@IWorkbenchExtensionManagementService private readonly workbenchExtensionManagementService: IWorkbenchExtensionManagementService,
@IUserDataSyncEnablementService protected readonly userDataSyncEnablementService: IUserDataSyncEnablementService,
@ITelemetryService telemetryService: ITelemetryService,
) {
@ -528,7 +528,7 @@ export class InstallAction extends AbstractInstallAction {
// When remote connection exists
if (this._manifest && this.extensionManagementServerService.remoteExtensionManagementServer) {
const server = this.workbenchExtensioManagementService.getExtensionManagementServerToInstall(this._manifest);
const server = this.workbenchExtensionManagementService.getExtensionManagementServerToInstall(this._manifest);
if (server === this.extensionManagementServerService.remoteExtensionManagementServer) {
const host = this.extensionManagementServerService.remoteExtensionManagementServer.label;

View File

@ -68,7 +68,7 @@ export class ExtensionManifestPropertiesService extends Disposable implements IE
this._configuredExtensionWorkspaceTrustRequestMap.set(id, configuredExtensionWorkspaceTrustRequests[id]);
}
// Workspace trust request type (products.json)
// Workspace trust request type (product.json)
this._productExtensionWorkspaceTrustRequestMap = new Map<string, ExtensionUntrustedWorkspaceSupport>();
if (productService.extensionUntrustedWorkspaceSupport) {
for (const id of Object.keys(productService.extensionUntrustedWorkspaceSupport)) {