mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
auto-fixed prefer-const violation
This commit is contained in:
@@ -112,7 +112,7 @@ export class DefaultWorkerFactory implements IWorkerFactory {
|
||||
}
|
||||
|
||||
public create(moduleId: string, onMessageCallback: IWorkerCallback, onErrorCallback: (err: any) => void): IWorker {
|
||||
let workerId = (++DefaultWorkerFactory.LAST_WORKER_ID);
|
||||
const workerId = (++DefaultWorkerFactory.LAST_WORKER_ID);
|
||||
|
||||
if (this._webWorkerFailedBeforeError) {
|
||||
throw this._webWorkerFailedBeforeError;
|
||||
|
||||
Reference in New Issue
Block a user