Skip to content

Commit 2a198a4

Browse files
committed
adding changes to avoind undefined sources
1 parent c7cc22e commit 2a198a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ function asyncHelpers(hbs) {
1515

1616
mergeSource(varDeclarations) {
1717
const sources = super.mergeSource(varDeclarations)
18-
return sources.prepend('return (async () => {').add(' })()')
18+
sources.prepend('return (async () => {')
19+
sources.add(' })()')
20+
return sources
1921
}
2022

2123
appendToBuffer(source, location, explicit) {

0 commit comments

Comments
 (0)