Skip to content

next is not defined in Express\routes.js #16

@leniel

Description

@leniel

In the following code, next is not defined.

function createSequelizeManager() {
  if (!fs.existsSync(metafile)) {
    next(new Error("Unable to locate file: " + metafile));
  }
  var metadata = fs.readFileSync(metafile, 'utf8');
  var sm = new SequelizeManager({}, _seqOpts);
  sm.importMetadata(metadata);

  // sm.keyGenerator = new KeyGenerator(sm.sequelize);
  return sm;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions