1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-17 13:25:24 +03:00

Merge pull request #1938 from mikeller/amend_cli_error_highlighting

Amended error highlighting in CLI.
This commit is contained in:
Michael Keller 2020-03-26 01:33:20 +13:00 committed by GitHub
commit 1bb4a16bd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -355,7 +355,7 @@ function writeLineToOutput(text) {
return; // suppress output if in building state
}
if (text.startsWith("###ERROR: ")) {
if (text.startsWith("###ERROR")) {
writeToOutput('<span class="error_message">' + text + '</span><br>');
} else {
writeToOutput(text + "<br>");