Skip to content

Commit

Permalink
fix stats
Browse files Browse the repository at this point in the history
  • Loading branch information
ecraig12345 committed Apr 22, 2020
1 parent 9e9d559 commit da170c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gulp/tasks/stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ task('stats', series(parallel('build:docs:component-info'), 'stats:build:bundle'

function readSummaryPerfStats() {
return _.chain(require(paths.perfDist('result.json')))
.mapKeys((value, key) => _.camelCase(key)) // mongodb does not allow dots in keys
.mapKeys((value, key) => _.camelCase(String(key))) // mongodb does not allow dots in keys
.mapValues(result => ({
actualTime: _.omit(result.actualTime, 'values'),
renderComponentTime: {
Expand Down

0 comments on commit da170c2

Please sign in to comment.