Auto converting let -> const where possible in mainthread and extHost

Const provides better type guards and can make logic clearer
This commit is contained in:
Matt Bierner
2019-03-05 16:25:26 -08:00
parent aef80e8070
commit 52556f9742
38 changed files with 219 additions and 219 deletions

View File

@@ -459,7 +459,7 @@ export class ExtHostWorkspace implements ExtHostWorkspaceShape, IExtHostWorkspac
excludePattern: options.exclude ? globPatternToString(options.exclude) : undefined
};
let isCanceled = false;
const isCanceled = false;
this._activeSearchCallbacks[requestId] = p => {
if (isCanceled) {