extra space removal

pull/377/head
aniket-engg 4 years ago
parent 30dc5a6f9d
commit 0b47f4a846
  1. 2
      libs/remix-solidity/src/compiler/compiler.ts

@ -130,7 +130,7 @@ export class Compiler {
onCompilationFinished (data: CompilationResult, missingInputs?: string[], source?: SourceWithTarget): void { onCompilationFinished (data: CompilationResult, missingInputs?: string[], source?: SourceWithTarget): void {
let noFatalErrors = true // ie warnings are ok let noFatalErrors = true // ie warnings are ok
const checkIfFatalError = (error: CompilationError) => { const checkIfFatalError = (error: CompilationError) => {
// Ignore warnings and the 'Deferred import' error as those are generated by us as a workaround // Ignore warnings and the 'Deferred import' error as those are generated by us as a workaround
const isValidError = (error.message && error.message.includes('Deferred import')) ? false : error.severity !== 'warning' const isValidError = (error.message && error.message.includes('Deferred import')) ? false : error.severity !== 'warning'

Loading…
Cancel
Save