Skip to content

Commit

Permalink
fix(Codeblock): 🔊 End log group if err is non-empty
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Apr 18, 2022
1 parent e26ff93 commit 8a83dbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Codeblocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export function getCodeblockCB(plugin: BCPlugin) {

if (err !== "") {
el.innerHTML = err;
db.end2G();
return;
}
let min = 0,
Expand Down

0 comments on commit 8a83dbf

Please sign in to comment.