Commit 8ee2b847 authored by 0mkar's avatar 0mkar

fix build

parent 68c487c3
......@@ -116,7 +116,7 @@ export function compileContractSources(sources: SrcIfc, importFileCb: any, opts:
compiler.compile(sources, filepath)
}
], function (err: Error | null | undefined , result: any) {
let error = []
let error: Error[] = []
if (result.error) error.push(result.error)
let errors = (result.errors || error).filter((e) => e.type === 'Error' || e.severity === 'error')
if (errors.length > 0) {
......
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