mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +00:00
vscode: npm run fix
This commit is contained in:
parent
1e73811fbe
commit
7e6b1a60c3
2 changed files with 4 additions and 4 deletions
|
@ -173,7 +173,7 @@ export class Config {
|
|||
name: "rust-analyzer",
|
||||
owner: "rust-analyzer"
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
get nightlyVsixSource(): ArtifactSource.GithubRelease {
|
||||
|
@ -240,7 +240,7 @@ export class StringStorage {
|
|||
constructor(
|
||||
private readonly key: string,
|
||||
private readonly storage: vscode.Memento
|
||||
) {}
|
||||
) { }
|
||||
|
||||
get(): null | string {
|
||||
const tag = this.storage.get(this.key, null);
|
||||
|
@ -257,7 +257,7 @@ export class DateStorage {
|
|||
constructor(
|
||||
private readonly key: string,
|
||||
private readonly storage: vscode.Memento
|
||||
) {}
|
||||
) { }
|
||||
|
||||
get(): null | Date {
|
||||
const date = this.storage.get(this.key, null);
|
||||
|
|
|
@ -110,7 +110,7 @@ const tryDownloadNightlyExtension = notReentrant(async function tryDownloadNight
|
|||
|
||||
const vsixPath = path.join(vsixSource.dir, vsixSource.file);
|
||||
|
||||
await vscodeInstallExtensionFromVsix(vsixPath)
|
||||
await vscodeInstallExtensionFromVsix(vsixPath);
|
||||
await config.installedNightlyExtensionReleaseDate.set(releaseInfo.releaseDate);
|
||||
await fs.unlink(vsixPath);
|
||||
|
||||
|
|
Loading…
Reference in a new issue