mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-10 10:58:33 +00:00
Reveal the error location after on failed verify.
Closes #608 Closes #229 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
@@ -40,6 +40,14 @@ export class OutputChannelManager extends TheiaOutputChannelManager {
|
||||
}
|
||||
return channel;
|
||||
}
|
||||
|
||||
async contentOfChannel(name: string): Promise<string | undefined> {
|
||||
const resource = this.resources.get(name);
|
||||
if (resource) {
|
||||
return resource.readContents();
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
export class OutputChannel extends TheiaOutputChannel {
|
||||
|
||||
Reference in New Issue
Block a user