Skip to content

Commit

Permalink
line length.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Feb 2, 2017
1 parent b7aefd6 commit cb14fe3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lighthouse-core/lib/traces/pwmetrics-events.js
Expand Up @@ -189,8 +189,11 @@ class Metrics {
}

metrics.forEach(metric => {
if (!metric.ts || metric.id === 'navstart') {
!metric.ts && log.error('pwmetrics-events', `(${metric.name}) missing timestamp. Skipping…`);
if (metric.id === 'navstart') {
return;
}
if (!metric.ts) {
log.error('pwmetrics-events', `(${metric.name}) missing timestamp. Skipping…`);
return;
}
log.verbose('pwmetrics-events', `Sythesizing trace events for ${metric.name}`);
Expand Down

0 comments on commit cb14fe3

Please sign in to comment.