replace void 0 with undefined

This commit is contained in:
Rob Lourens
2018-12-28 13:15:41 -08:00
parent 0d11396538
commit ef2547d547
413 changed files with 1515 additions and 1515 deletions

View File

@@ -103,7 +103,7 @@ export class LanguagePackCachedDataCleaner {
this._disposables.push({
dispose() {
if (handle !== void 0) {
if (handle !== undefined) {
clearTimeout(handle);
}
}

View File

@@ -21,7 +21,7 @@ export class LogsDataCleaner extends Disposable {
private cleanUpOldLogsSoon(): void {
let handle: any = setTimeout(() => {
handle = void 0;
handle = undefined;
const currentLog = basename(this.environmentService.logsPath);
const logsRoot = dirname(this.environmentService.logsPath);

View File

@@ -25,7 +25,7 @@ export class StorageDataCleaner extends Disposable {
private cleanUpStorageSoon(): void {
let handle: any = setTimeout(() => {
handle = void 0;
handle = undefined;
// Leverage the backup workspace file to find out which empty workspace is currently in use to
// determine which empty workspace storage can safely be deleted