From 64752a6b5ea97eb04926ef47e3806e02c26d548f Mon Sep 17 00:00:00 2001 From: Kenny Tran Date: Tue, 19 May 2015 08:03:14 -0700 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 36ae451..f076735 100644 --- a/index.js +++ b/index.js @@ -85,7 +85,7 @@ HtmlWebpackPlugin.prototype.getTemplateContent = function(compilation, templateP return Promise.fromNode(function(callback) { // allow to specify a sync or an async function to generate the template content var result = self.options.templateContent(templateParams, compilation, callback); - // if it return a result expect it to be sync + // if it returns a result expect it to be sync if (result !== undefined) { callback(null, result); }