Prechádzať zdrojové kódy

fix(1.97): add extensions to imports [skip ci]

Baptiste Augrain 4 mesiacov pred
rodič
commit
446d8ebc0e

+ 2 - 2
patches/fix-eol-banner.patch

@@ -9,7 +9,7 @@ index 1f329c4..3e36bff 100644
  import { IThemeService } from '../../../../platform/theme/common/themeService.js';
 @@ -30,2 +30,3 @@ import { widgetClose } from '../../../../platform/theme/common/iconRegistry.js';
  import { BannerFocused } from '../../../common/contextkeys.js';
-+import { INeverShowAgainOptions, NeverShowAgainScope } from '../../../../platform/notification/common/notification';
++import { INeverShowAgainOptions, NeverShowAgainScope } from '../../../../platform/notification/common/notification.js';
  
 @@ -67,3 +68,3 @@ export class BannerPart extends Part implements IBannerService {
  		@IWorkbenchLayoutService layoutService: IWorkbenchLayoutService,
@@ -53,7 +53,7 @@ index 2db0fa4..d179055 100644
 +++ b/src/vs/workbench/services/banner/browser/bannerService.ts
 @@ -10,2 +10,3 @@ import { ILinkDescriptor } from '../../../../platform/opener/browser/link.js';
  import { ThemeIcon } from '../../../../base/common/themables.js';
-+import { INeverShowAgainOptions } from '../../../../platform/notification/common/notification';
++import { INeverShowAgainOptions } from '../../../../platform/notification/common/notification.js';
  
 @@ -18,2 +19,3 @@ export interface IBannerItem {
  	readonly onClose?: () => void;

+ 2 - 2
patches/version-0-release.patch

@@ -127,7 +127,7 @@ index 0000000..2a8ea57
 --- /dev/null
 +++ b/src/vs/workbench/common/release.ts
 @@ -0,0 +1,14 @@
-+import { language } from 'vs/base/common/platform';
++import { language } from 'vs/base/common/platform.js';
 +
 +const DEFAULT_LABEL = 'Release:';
 +const LABELS: { [key: string]: string } = {
@@ -147,7 +147,7 @@ index 6c61a59..e76a188 100644
 +++ b/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts
 @@ -15,2 +15,3 @@ import { process } from '../../../../base/parts/sandbox/electron-sandbox/globals
  import { getActiveWindow } from '../../../../base/browser/dom.js';
-+import { getReleaseString } from '../../../../workbench/common/release';
++import { getReleaseString } from '../../../../workbench/common/release.js';
  
 @@ -80,2 +81,3 @@ export class NativeDialogHandler extends AbstractDialogHandler {
  		const osProps = await this.nativeHostService.getOSProperties();