Remove code dependencies to underscore
This commit is contained in:
parent
e726d3ea29
commit
9fe14a0790
|
@ -39,6 +39,7 @@ class NpmTimer{
|
||||||
else{
|
else{
|
||||||
// otherwise, find our download complete measurement
|
// otherwise, find our download complete measurement
|
||||||
entry = utils.last(items.getEntries().filter(entry => entry.name === this._downloadComplete));
|
entry = utils.last(items.getEntries().filter(entry => entry.name === this._downloadComplete));
|
||||||
|
|
||||||
if(entry){
|
if(entry){
|
||||||
strDuration = __('Finished downloading and installing {{packageName}} {{version}} in {{duration}}ms', {packageName: this._packageName, version: this._version, duration: entry.duration});
|
strDuration = __('Finished downloading and installing {{packageName}} {{version}} in {{duration}}ms', {packageName: this._packageName, version: this._version, duration: entry.duration});
|
||||||
performance.clearMarks();
|
performance.clearMarks();
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue