Comparing version 0.12.0 to 0.12.1
@@ -97,4 +97,13 @@ /* SQB | ||
cursor.next(function(err, row) { | ||
if (err) | ||
return self.destroy(err); | ||
if (err) { | ||
/* istanbul ignore next */ | ||
if (typeof self.destroy == 'function') | ||
self.destroy(err); | ||
else { | ||
self.close(function() { | ||
self.emit('error', err); | ||
}); | ||
} | ||
return; | ||
} | ||
if (!row) { | ||
@@ -101,0 +110,0 @@ if (!self._objectMode) { |
{ | ||
"name": "sqb", | ||
"description": "Plugin-driven, multi-dialect SQL query builder and Database connection framework for JavaScript", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
105576
3574