Mark private service properties declarated in ctors as readonly

This commit is contained in:
Matt Bierner
2019-01-04 10:57:55 -08:00
parent ad040a2f89
commit 087629786a
289 changed files with 1641 additions and 1641 deletions

View File

@@ -12,7 +12,7 @@ import { Disposable, toDisposable } from 'vs/base/common/lifecycle';
export class LogsDataCleaner extends Disposable {
constructor(
@IEnvironmentService private environmentService: IEnvironmentService
@IEnvironmentService private readonly environmentService: IEnvironmentService
) {
super();

View File

@@ -16,7 +16,7 @@ export class StorageDataCleaner extends Disposable {
private static NON_EMPTY_WORKSPACE_ID_LENGTH = 128 / 4;
constructor(
@IEnvironmentService private environmentService: IEnvironmentService
@IEnvironmentService private readonly environmentService: IEnvironmentService
) {
super();