|
|
@ -114,7 +114,7 @@ class CompileTab extends ViewPlugin { |
|
|
|
if (success) { |
|
|
|
if (success) { |
|
|
|
// forwarding the event to the appManager infra
|
|
|
|
// forwarding the event to the appManager infra
|
|
|
|
this.emit('compilationFinished', source.target, source, 'soljson', data) |
|
|
|
this.emit('compilationFinished', source.target, source, 'soljson', data) |
|
|
|
if (data.errors) { |
|
|
|
if (data.errors && data.errors.length > 0) { |
|
|
|
this.emit('statusChanged', { |
|
|
|
this.emit('statusChanged', { |
|
|
|
key: data.errors.length, |
|
|
|
key: data.errors.length, |
|
|
|
title: `compilation finished successful with warning${data.errors.length > 1 ? 's' : ''}`, |
|
|
|
title: `compilation finished successful with warning${data.errors.length > 1 ? 's' : ''}`, |
|
|
|