From 78d099a9f8dd47bee34f51ab26f6d11235643543 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Fri, 29 Oct 2021 19:30:39 +0530 Subject: [PATCH] linting fix --- libs/remix-core-plugin/src/lib/compiler-content-imports.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/remix-core-plugin/src/lib/compiler-content-imports.ts b/libs/remix-core-plugin/src/lib/compiler-content-imports.ts index 1d1cacc5ca..803205868a 100644 --- a/libs/remix-core-plugin/src/lib/compiler-content-imports.ts +++ b/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 }