Skip to content

Commit 1916a76

Browse files
author
Arvid Paeglit
committed
coe cleanup. removed constructor from BundlesModule
1 parent 3cd394e commit 1916a76

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

src/deepcode/lib/modules/BundlesModule.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,12 @@ import { analyzeFolders, extendAnalysis } from '@deepcode/tsc';
1111
abstract class BundlesModule extends LoginModule implements BundlesModuleInterface {
1212
runningAnalysis = false;
1313

14-
private lastAnalysisStartingTimestamp: number;
14+
private lastAnalysisStartingTimestamp = Date.now();
1515
lastAnalysisDuration = 0;
16-
lastAnalysisTimestamp: number;
16+
lastAnalysisTimestamp = Date.now();
1717

1818
files: string[] = [];
1919

20-
constructor() {
21-
super();
22-
23-
this.lastAnalysisStartingTimestamp = Date.now();
24-
this.lastAnalysisTimestamp = Date.now();
25-
}
26-
2720
updateStatus(status: string, progress: string) {
2821
this.analysisStatus = status;
2922
this.analysisProgress = progress;

0 commit comments

Comments
 (0)