Skip to content

Commit

Permalink
Fix typo that breaks chewingum. templateEngine --> components
Browse files Browse the repository at this point in the history
  • Loading branch information
karlisup committed Sep 24, 2018
1 parent 00a1ab2 commit 2af18ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CountComponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function isFolder (file) {
*/
function componentExists (title, folder) {
for (var i = 0, l = this._opts.components.length; i < l; i++) {
var component = this._opts.templateEngine[i]
var component = this._opts.components[i]
if (component.name === title && component.path === folder) {
return true
}
Expand Down

0 comments on commit 2af18ce

Please sign in to comment.