From da170c243eca1026d3549088ade827d7534fdced Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Tue, 21 Apr 2020 01:27:17 -0700 Subject: [PATCH] fix stats --- scripts/gulp/tasks/stats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gulp/tasks/stats.ts b/scripts/gulp/tasks/stats.ts index 3c1fba54305ac9..1354ea922ed897 100644 --- a/scripts/gulp/tasks/stats.ts +++ b/scripts/gulp/tasks/stats.ts @@ -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: {