From 2af18ceb05ff78c5f32fdaed58b79acab0431ec9 Mon Sep 17 00:00:00 2001 From: karlis upitis Date: Tue, 25 Sep 2018 00:13:52 +0300 Subject: [PATCH] Fix typo that breaks chewingum. templateEngine --> components --- lib/CountComponents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CountComponents.js b/lib/CountComponents.js index 1c3a6e6..bc9bc2a 100644 --- a/lib/CountComponents.js +++ b/lib/CountComponents.js @@ -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 }