Merge pull request #69 from glesage/feature/fix-missing-ok

Fixed missing 'ok' declaration
This commit is contained in:
Raymond Feng 2015-01-15 14:11:49 -08:00
commit 0116dbfa1c
1 changed files with 1 additions and 0 deletions

View File

@ -692,6 +692,7 @@ MySQL.prototype.createTable = function (model, cb) {
*/ */
MySQL.prototype.isActual = function(models, cb) { MySQL.prototype.isActual = function(models, cb) {
var self = this; var self = this;
var ok = false;
if ((!cb) && ('function' === typeof models)) { if ((!cb) && ('function' === typeof models)) {
cb = models; cb = models;