linting fix

pull/1738/head
Aniket-Engg 3 years ago committed by yann300
parent 5f92614db4
commit 78d099a9f8
  1. 3
      libs/remix-core-plugin/src/lib/compiler-content-imports.ts

@ -1,7 +1,6 @@
'use strict'
import { Plugin } from '@remixproject/engine'
import { RemixURLResolver } from '@remix-project/remix-url-resolver'
const remixTests = require('@remix-project/remix-tests')
const profile = {
name: 'contentImport',
@ -118,7 +117,7 @@ export class CompilerImports extends Plugin {
*/
async resolveAndSave (url, targetPath) {
if (url.indexOf('remix_tests.sol') !== -1 || url.indexOf('remix_accounts.sol') !== -1) {
const {assertLibCode, accountsLibCode} = await this.call('solidityUnitTesting', 'getTestlibs')
const { assertLibCode, accountsLibCode } = await this.call('solidityUnitTesting', 'getTestlibs')
if (url === 'remix_tests.sol') return assertLibCode
else if (url === 'remix_accounts.sol') return accountsLibCode
}

Loading…
Cancel
Save