From ca86082e08ba0aa136b19f468c26fe83f69e3a5f Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Sat, 4 Sep 2021 09:54:38 +0200 Subject: [PATCH] fix benchmarks --- scripts/submit-metrics.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/submit-metrics.ts b/scripts/submit-metrics.ts index 56089b834c5c..9ac215e3c004 100644 --- a/scripts/submit-metrics.ts +++ b/scripts/submit-metrics.ts @@ -38,8 +38,8 @@ try { 'x-metrics-commit-hash': commit, }, }) - .then((res) => res.text()) // expecting a json response - .then((json) => { + .then((res: any) => res.text()) // expecting a json response + .then((json: any) => { debug('response %o', json); }); } catch (error) {