Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Commit

Permalink
Added missing semicolon to yield [Resolves #14]
Browse files Browse the repository at this point in the history
  • Loading branch information
shnhrrsn committed May 23, 2017
1 parent 264780c commit 44cf62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compiler/Layouts.js
Expand Up @@ -79,7 +79,7 @@ export function compileYield(context, section) {
}

context.validateSyntax(section)
return `${code}output += (_sections[${section}] || [ ]).length > 0 ? (_sections[${section}].pop())() : ''`
return `${code}output += (_sections[${section}] || [ ]).length > 0 ? (_sections[${section}].pop())() : '';`
}

/**
Expand Down

0 comments on commit 44cf62a

Please sign in to comment.