Skip to content

Commit

Permalink
πŸ› Make BlockBuffer#assembleHTML() actually return a pledge
Browse files Browse the repository at this point in the history
  • Loading branch information
skerit committed Apr 27, 2024
1 parent cdc6d5e commit bef2e68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/core/block_buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ BlockBuffer.setMethod(function splice(index, howMany) {
*
* @author Jelle De Loecker <[email protected]>
* @since 2.0.0
* @version 2.0.0
* @version 2.4.0
*
* @return {Pledge}
*/
Expand All @@ -597,6 +597,8 @@ BlockBuffer.setMethod(function assembleHTML() {

pledge.resolve(that.toHTML());
});

return pledge;
});

/**
Expand Down

0 comments on commit bef2e68

Please sign in to comment.