File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import * as vscode from "vscode" ;
2- import * as _ from "lodash" ;
32
43import { BundlesModuleInterface } from "../../../interfaces/DeepCodeInterfaces" ;
54
@@ -21,8 +20,8 @@ abstract class BundlesModule extends LoginModule implements BundlesModuleInterfa
2120 constructor ( ) {
2221 super ( ) ;
2322
24- this . lastAnalysisStartingTimestamp = _ . now ( ) ;
25- this . lastAnalysisTimestamp = _ . now ( ) ;
23+ this . lastAnalysisStartingTimestamp = Date . now ( ) ;
24+ this . lastAnalysisTimestamp = Date . now ( ) ;
2625 }
2726
2827 updateStatus ( status : string , progress : string ) {
@@ -69,7 +68,7 @@ abstract class BundlesModule extends LoginModule implements BundlesModuleInterfa
6968 return ;
7069 }
7170 this . runningAnalysis = true ;
72- this . lastAnalysisStartingTimestamp = _ . now ( ) ;
71+ this . lastAnalysisStartingTimestamp = Date . now ( ) ;
7372
7473 let result ;
7574 if ( this . changedFiles . size && this . remoteBundle ) {
@@ -97,7 +96,7 @@ abstract class BundlesModule extends LoginModule implements BundlesModuleInterfa
9796 } ) ;
9897 } finally {
9998 this . runningAnalysis = false ;
100- this . lastAnalysisTimestamp = _ . now ( ) ;
99+ this . lastAnalysisTimestamp = Date . now ( ) ;
101100 this . lastAnalysisDuration = this . lastAnalysisTimestamp - this . lastAnalysisStartingTimestamp ;
102101 }
103102 }
You can’t perform that action at this time.
0 commit comments