From 3e474918c4bd5c0bdea466d4f7370a264c5f268c Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Fri, 10 Jan 2020 16:17:31 +0530 Subject: [PATCH] compiler import issue fixed --- remix-solidity/src/compiler/compiler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remix-solidity/src/compiler/compiler.ts b/remix-solidity/src/compiler/compiler.ts index bd9673512..d9975011b 100644 --- a/remix-solidity/src/compiler/compiler.ts +++ b/remix-solidity/src/compiler/compiler.ts @@ -133,7 +133,7 @@ export class Compiler { const checkIfFatalError = (error: CompilationError) => { // Ignore warnings and the 'Deferred import' error as those are generated by us as a workaround - const isValidError = (error.message && error.message === 'Deferred import') ? false : error.severity !== 'warning' + const isValidError = (error.message && error.message.includes('Deferred import')) ? false : error.severity !== 'warning' if(isValidError) noFatalErrors = false } if (data.error) checkIfFatalError(data.error)