From 03ef7280491e35dcb9a8cb6952cd036dbac9704c Mon Sep 17 00:00:00 2001 From: dead_horse Date: Fri, 28 Feb 2014 22:37:38 +0800 Subject: [PATCH] default readme to null, fixed #233 --- controllers/registry/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/registry/module.js b/controllers/registry/module.js index bed12c270..79249cb67 100644 --- a/controllers/registry/module.js +++ b/controllers/registry/module.js @@ -69,7 +69,7 @@ exports.show = function *(next) { var nextMod = null; var latestMod = null; - var readme; + var readme = null; // set tags var distTags = {}; for (var i = 0; i < tags.length; i++) {