Comparing version 0.3.7 to 0.3.8
@@ -682,10 +682,5 @@ var util = require('util'); | ||
return self.db.select(options).then(function(data){ | ||
var result = data ? data[0] : []; | ||
var result = data[0] ? data[0] : {}; | ||
return self._afterFind(result, options); | ||
}) | ||
}).then(function(result){ | ||
if (result === false) { | ||
return getPromise("_afterFind return false", true); | ||
}; | ||
return result; | ||
}) | ||
@@ -692,0 +687,0 @@ }, |
@@ -122,3 +122,3 @@ //自动加载进行识别的路径 | ||
if (APP_MODE) { | ||
var modeDebugFile = THINK_PATH + "/Confg/" + APP_MODE + "_debug.js"; | ||
var modeDebugFile = THINK_PATH + "/Conf/" + APP_MODE + "_debug.js"; | ||
if (isFile(modeDebugFile)) { | ||
@@ -125,0 +125,0 @@ C(require(modeDebugFile)); |
{ | ||
"name": "thinkjs", | ||
"description": "thinkphp web framework for nodejs", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "welefen", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
188918
5660