0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00

fix benchmarks

This commit is contained in:
Juan Picado 2021-09-04 09:54:38 +02:00
parent ef60e83d6c
commit ca86082e08

View file

@ -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) {