Skip to content

Commit e429405

Browse files
committed
💄 Update templates
1 parent 5d90655 commit e429405

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

gen-release-template.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ function run() {
3535
}
3636

3737
function buildH3Template(gitmojiObj) {
38-
return `
39-
{{#if ${gitmojiObj.name.replace(/-/g,'_')}}}
38+
return `{{#if ${gitmojiObj.name.replace(/-/g,'_')}}}
4039
{{#each ${gitmojiObj.name.replace(/-/g,'_')}}}
4140
- {{> commitTemplate}}
4241
{{/each}}
43-
{{/if}}
44-
`
42+
{{/if}}`
4543
}
4644

4745
run()

0 commit comments

Comments
 (0)