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:
Akos Kitta
2022-06-08 11:29:18 +02:00
committed by Akos Kitta
parent a715da3d18
commit d6f4096cd0
23 changed files with 1545 additions and 392 deletions

View File

@@ -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 {