Skip to content

Commit efd8d25

Browse files
tellokRachel Macfarlane
authored andcommitted
fix minimal wrong spell (microsoft#86744)
1 parent 007b303 commit efd8d25

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/vs/platform/state/node/stateService.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ import { isUndefined, isUndefinedOrNull } from 'vs/base/common/types';
1111
import { IStateService } from 'vs/platform/state/node/state';
1212
import { ILogService } from 'vs/platform/log/common/log';
1313

14-
type StorageDatebase = { [key: string]: any; };
14+
type StorageDatabase = { [key: string]: any; };
1515

1616
export class FileStorage {
1717

18-
private _database: StorageDatebase | null = null;
18+
private _database: StorageDatabase | null = null;
1919
private lastFlushedSerializedDatabase: string | null = null;
2020

2121
constructor(private dbPath: string, private onError: (error: Error) => void) { }
2222

23-
private get database(): StorageDatebase {
23+
private get database(): StorageDatabase {
2424
if (!this._database) {
2525
this._database = this.loadSync();
2626
}
@@ -42,7 +42,7 @@ export class FileStorage {
4242
this._database = database;
4343
}
4444

45-
private loadSync(): StorageDatebase {
45+
private loadSync(): StorageDatabase {
4646
try {
4747
this.lastFlushedSerializedDatabase = fs.readFileSync(this.dbPath).toString();
4848

@@ -56,7 +56,7 @@ export class FileStorage {
5656
}
5757
}
5858

59-
private async loadAsync(): Promise<StorageDatebase> {
59+
private async loadAsync(): Promise<StorageDatabase> {
6060
try {
6161
this.lastFlushedSerializedDatabase = (await readFile(this.dbPath)).toString();
6262

0 commit comments

Comments
 (0)