From d820993e0fde7617eae322510c2ee2aea2276355 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 29 Jun 2022 12:00:12 +0200 Subject: [PATCH] use const --- apps/remix-ide/src/app/tabs/runTab/model/recorder.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/runTab/model/recorder.js b/apps/remix-ide/src/app/tabs/runTab/model/recorder.js index ac9c56ab46..8ccc8ccd67 100644 --- a/apps/remix-ide/src/app/tabs/runTab/model/recorder.js +++ b/apps/remix-ide/src/app/tabs/runTab/model/recorder.js @@ -297,12 +297,12 @@ class Recorder extends Plugin { } try { - var txArray = json.transactions || [] - var accounts = json.accounts || [] - var options = json.options || {} - var abis = json.abis || {} - var linkReferences = json.linkReferences || {} - var live = json.live || false + const txArray = json.transactions || [] + const accounts = json.accounts || [] + const options = json.options || {} + const abis = json.abis || {} + const linkReferences = json.linkReferences || {} + const live = json.live || false } catch (e) { return cb('Invalid Scenario File. Please try again') }