diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/installation/extension.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/installation/extension.ts b/editors/code/src/installation/extension.ts index d0782ad13..3a1481a89 100644 --- a/editors/code/src/installation/extension.ts +++ b/editors/code/src/installation/extension.ts | |||
@@ -58,11 +58,11 @@ export async function ensureProperExtensionVersion(config: Config): Promise<neve | |||
58 | 58 | ||
59 | await tryDownloadNightlyExtension(config, releaseInfo => { | 59 | await tryDownloadNightlyExtension(config, releaseInfo => { |
60 | assert( | 60 | assert( |
61 | currentExtReleaseDate === config.installedNightlyExtensionReleaseDate.get(), | 61 | currentExtReleaseDate.getTime() === config.installedNightlyExtensionReleaseDate.get()?.getTime(), |
62 | "Other active VSCode instance has reinstalled the extension" | 62 | "Other active VSCode instance has reinstalled the extension" |
63 | ); | 63 | ); |
64 | 64 | ||
65 | if (releaseInfo.releaseDate === currentExtReleaseDate) { | 65 | if (releaseInfo.releaseDate.getTime() === currentExtReleaseDate.getTime()) { |
66 | vscode.window.showInformationMessage( | 66 | vscode.window.showInformationMessage( |
67 | "Whoops, it appears that your nightly version is up-to-date. " + | 67 | "Whoops, it appears that your nightly version is up-to-date. " + |
68 | "There might be some problems with the upcomming nightly release " + | 68 | "There might be some problems with the upcomming nightly release " + |