async for linter

pull/1634/head
lianahus 3 years ago
parent e8544be003
commit 39fd256539
  1. 2
      apps/remix-ide/src/app/tabs/analysis-tab.js
  2. 2
      apps/remix-ide/src/app/tabs/test-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')

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

Loading…
Cancel
Save