From 37863f90defc79fb35ef1bca2605ec76da2d750a Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 12 May 2014 02:58:38 -0400 Subject: [PATCH] fix(cloudcmd) readIndex: params -> error, params --- cloudcmd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudcmd.js b/cloudcmd.js index 0c599210..0290daaa 100644 --- a/cloudcmd.js +++ b/cloudcmd.js @@ -274,7 +274,7 @@ } function readIndex(json, callback) { - Util.ifExec(!Minify, function(params) { + Util.ifExec(!Minify, function(error, params) { var name = params && params.name; fs.readFile(name || INDEX_PATH, 'utf8', function(error, template) {