mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-20 11:48:03 +02:00
Put constant in outer scope
This commit is contained in:
parent
da9a6c434a
commit
ae2f170fe6
@ -123,9 +123,9 @@ const runSingleRequest = async function (
|
||||
}
|
||||
|
||||
let response, responseTime;
|
||||
const start = Date.now();
|
||||
try {
|
||||
// run request
|
||||
const start = Date.now();
|
||||
response = await axios(request);
|
||||
responseTime = Date.now() - start;
|
||||
} catch (err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user