Skip to content

Commit

Permalink
Minor cleanup. Adding async to handlebar block helpers such that gene…
Browse files Browse the repository at this point in the history
…ration is consistent for these helpers (#1317)
  • Loading branch information
brdandu committed May 6, 2024
1 parent 78977d3 commit 3e6d5d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-electron/generator/helper-zap.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function backslash() {
* @param {*} category
* @param {*} options
*/
function template_options(options) {
async function template_options(options) {
return templateUtil
.ensureTemplatePackageId(this)
.then((packageId) =>
Expand Down Expand Up @@ -161,7 +161,7 @@ function middle(options) {
* @param {*} options
* @param {*} key
*/
function template_option_with_code(options, key) {
async function template_option_with_code(options, key) {
return templateUtil
.ensureTemplatePackageId(this)
.then((packageId) =>
Expand Down

0 comments on commit 3e6d5d7

Please sign in to comment.