From a19f39396fefdbb9f961a5138005b608355babb0 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Wed, 18 Feb 2015 15:25:46 -0800 Subject: [PATCH] Fix coding style issue --- common/models/role.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/models/role.js b/common/models/role.js index 7dc45dea..e25c3c34 100644 --- a/common/models/role.js +++ b/common/models/role.js @@ -107,8 +107,9 @@ module.exports = function(Role) { if (modelClass) { return modelClass === loopback.User || modelClass.prototype instanceof loopback.User; + } else { + return false; } - else return false; } /*!