Set ok default to false
This commit is contained in:
parent
0511830a12
commit
0772223908
|
@ -692,7 +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;
|
var ok = false;
|
||||||
|
|
||||||
if ((!cb) && ('function' === typeof models)) {
|
if ((!cb) && ('function' === typeof models)) {
|
||||||
cb = models;
|
cb = models;
|
||||||
|
|
Loading…
Reference in New Issue