Unverified Commit a16d13e3 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #1385 from ethereum/compiler-import-fix

compiler import issue fixed
parents 80c0b9d9 3e474918
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment