linting fix

pull/1738/head
Aniket-Engg 3 years ago committed by yann300
parent 1ff0ad757c
commit 50bd9156ed
  1. 2
      libs/remix-core-plugin/src/lib/compiler-content-imports.ts

@ -119,7 +119,7 @@ export class CompilerImports extends Plugin {
if (url.indexOf('remix_tests.sol') !== -1 || url.indexOf('remix_accounts.sol') !== -1) {
const { assertLibCode, accountsLibCode } = await this.call('solidityUnitTesting', 'getTestlibs')
let content
if (url === 'remix_tests.sol') content = assertLibCode
if (url === 'remix_tests.sol') content = assertLibCode
else if (url === 'remix_accounts.sol') content = accountsLibCode
const provider = await this.call('fileManager', 'getProviderOf', null)
if (provider) provider.addExternal('.deps/remix-tests/' + url, content, url)

Loading…
Cancel
Save