Better naming (#3486)
This commit is contained in:
parent
427d5a3b5a
commit
fd6a84ac6e
|
|
@ -131,7 +131,10 @@ module.exports = {
|
|||
log.error(`Could not find the user timing ${metric}`);
|
||||
continue;
|
||||
}
|
||||
} else if (metricType === 'extras' && tool === 'browsertime') {
|
||||
} else if (
|
||||
metricType === 'scriptingmetrics' &&
|
||||
tool === 'browsertime'
|
||||
) {
|
||||
const budgetValue = budgetForThisURL[metricType][metric];
|
||||
const value = get(
|
||||
message.data,
|
||||
|
|
@ -154,7 +157,7 @@ module.exports = {
|
|||
}
|
||||
continue;
|
||||
} else {
|
||||
log.error(`Could not find the extra metric ${metric}`);
|
||||
log.error(`Could not find the scripting metric ${metric}`);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue