Skip to content

Commit 3e6d5d7

Browse files
authored
Minor cleanup. Adding async to handlebar block helpers such that generation is consistent for these helpers (#1317)
1 parent 78977d3 commit 3e6d5d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src-electron/generator/helper-zap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function backslash() {
6464
* @param {*} category
6565
* @param {*} options
6666
*/
67-
function template_options(options) {
67+
async function template_options(options) {
6868
return templateUtil
6969
.ensureTemplatePackageId(this)
7070
.then((packageId) =>
@@ -161,7 +161,7 @@ function middle(options) {
161161
* @param {*} options
162162
* @param {*} key
163163
*/
164-
function template_option_with_code(options, key) {
164+
async function template_option_with_code(options, key) {
165165
return templateUtil
166166
.ensureTemplatePackageId(this)
167167
.then((packageId) =>

0 commit comments

Comments
 (0)