diff options
Diffstat (limited to 'editors/code/src')
-rw-r--r-- | editors/code/src/config.ts | 6 | ||||
-rw-r--r-- | editors/code/src/installation/extension.ts | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index e2b0f6f84..b5c07876b 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -173,7 +173,7 @@ export class Config { | |||
173 | name: "rust-analyzer", | 173 | name: "rust-analyzer", |
174 | owner: "rust-analyzer" | 174 | owner: "rust-analyzer" |
175 | } | 175 | } |
176 | } | 176 | }; |
177 | } | 177 | } |
178 | 178 | ||
179 | get nightlyVsixSource(): ArtifactSource.GithubRelease { | 179 | get nightlyVsixSource(): ArtifactSource.GithubRelease { |
@@ -240,7 +240,7 @@ export class StringStorage { | |||
240 | constructor( | 240 | constructor( |
241 | private readonly key: string, | 241 | private readonly key: string, |
242 | private readonly storage: vscode.Memento | 242 | private readonly storage: vscode.Memento |
243 | ) {} | 243 | ) { } |
244 | 244 | ||
245 | get(): null | string { | 245 | get(): null | string { |
246 | const tag = this.storage.get(this.key, null); | 246 | const tag = this.storage.get(this.key, null); |
@@ -257,7 +257,7 @@ export class DateStorage { | |||
257 | constructor( | 257 | constructor( |
258 | private readonly key: string, | 258 | private readonly key: string, |
259 | private readonly storage: vscode.Memento | 259 | private readonly storage: vscode.Memento |
260 | ) {} | 260 | ) { } |
261 | 261 | ||
262 | get(): null | Date { | 262 | get(): null | Date { |
263 | const date = this.storage.get(this.key, null); | 263 | const date = this.storage.get(this.key, null); |
diff --git a/editors/code/src/installation/extension.ts b/editors/code/src/installation/extension.ts index 7709cd3cd..7eab68852 100644 --- a/editors/code/src/installation/extension.ts +++ b/editors/code/src/installation/extension.ts | |||
@@ -110,7 +110,7 @@ const tryDownloadNightlyExtension = notReentrant(async function tryDownloadNight | |||
110 | 110 | ||
111 | const vsixPath = path.join(vsixSource.dir, vsixSource.file); | 111 | const vsixPath = path.join(vsixSource.dir, vsixSource.file); |
112 | 112 | ||
113 | await vscodeInstallExtensionFromVsix(vsixPath) | 113 | await vscodeInstallExtensionFromVsix(vsixPath); |
114 | await config.installedNightlyExtensionReleaseDate.set(releaseInfo.releaseDate); | 114 | await config.installedNightlyExtensionReleaseDate.set(releaseInfo.releaseDate); |
115 | await fs.unlink(vsixPath); | 115 | await fs.unlink(vsixPath); |
116 | 116 | ||