From 0cbc15c6314f74e0d1211fe7aa080306a7edc8b0 Mon Sep 17 00:00:00 2001 From: Clark Wang Date: Tue, 2 Sep 2014 12:55:52 +0800 Subject: [PATCH] Remove unnecessary console.log Signed-off-by: Clark Wang --- lib/relation-definition.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/relation-definition.js b/lib/relation-definition.js index 0a318988..a6a3f0a7 100644 --- a/lib/relation-definition.js +++ b/lib/relation-definition.js @@ -489,7 +489,6 @@ function lookupModelTo(modelFrom, modelTo, params, singularize) { } if (typeof modelTo === 'string') { modelToName = (singularize ? i8n.singularize(params.as) : params.as).toLowerCase(); - console.log(modelToName) modelTo = lookupModel(modelFrom.dataSource.modelBuilder.models, modelToName) || modelTo; } if (typeof modelTo !== 'function') {