Remove unnecessary console.log
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
This commit is contained in:
parent
f9a26bcb28
commit
0cbc15c631
|
@ -489,7 +489,6 @@ function lookupModelTo(modelFrom, modelTo, params, singularize) {
|
||||||
}
|
}
|
||||||
if (typeof modelTo === 'string') {
|
if (typeof modelTo === 'string') {
|
||||||
modelToName = (singularize ? i8n.singularize(params.as) : params.as).toLowerCase();
|
modelToName = (singularize ? i8n.singularize(params.as) : params.as).toLowerCase();
|
||||||
console.log(modelToName)
|
|
||||||
modelTo = lookupModel(modelFrom.dataSource.modelBuilder.models, modelToName) || modelTo;
|
modelTo = lookupModel(modelFrom.dataSource.modelBuilder.models, modelToName) || modelTo;
|
||||||
}
|
}
|
||||||
if (typeof modelTo !== 'function') {
|
if (typeof modelTo !== 'function') {
|
||||||
|
|
Loading…
Reference in New Issue