From 39fd25653971735d5bbedd5b6fbe6530fea582ca Mon Sep 17 00:00:00 2001 From: lianahus Date: Tue, 28 Sep 2021 13:59:14 +0200 Subject: [PATCH] async for linter --- apps/remix-ide/src/app/tabs/analysis-tab.js | 2 +- apps/remix-ide/src/app/tabs/test-tab.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/analysis-tab.js b/apps/remix-ide/src/app/tabs/analysis-tab.js index 085960351b..a42d2a5113 100644 --- a/apps/remix-ide/src/app/tabs/analysis-tab.js +++ b/apps/remix-ide/src/app/tabs/analysis-tab.js @@ -39,7 +39,7 @@ class AnalysisTab extends ViewPlugin { } } - onActivation () { + async onActivation () { const isSolidityActive = await this.call('manager', 'isActive', 'solidity') if (!isSolidityActive) { await this.call('manager', 'activatePlugin', 'solidity') diff --git a/apps/remix-ide/src/app/tabs/test-tab.js b/apps/remix-ide/src/app/tabs/test-tab.js index 606d234250..0ad7aac4ee 100644 --- a/apps/remix-ide/src/app/tabs/test-tab.js +++ b/apps/remix-ide/src/app/tabs/test-tab.js @@ -74,7 +74,7 @@ module.exports = class TestTab extends ViewPlugin { } } - async activate () { + async onActivation () { const isSolidityActive = await this.call('manager', 'isActive', 'solidity') if (!isSolidityActive) { await this.call('manager', 'activatePlugin', 'solidity')