Generator for Editor with NodeJS issues (for the developers)
Generator for Editor with NodeJS issues (for the developers)
![tablo](https://secure.gravatar.com/avatar/4ae1643d4156ea4ac31a6f3e557a4543/?default=https%3A%2F%2Fvanillicon.com%2F4ae1643d4156ea4ac31a6f3e557a4543_200.png&rating=g&size=120)
I tested today Generator for Editor with NodeJS and I noticed 2 minor issues which I already fixed but it might be of interest for the developers. Both concern the generated index.js:
- The line:
let db = require('./db');
is missing.
- After:
db.raw(query, bindings)
at the end of the file there is this line:
});
which shouldn't be there.
This discussion has been closed.
Answers
That wasn't very clever of me - thanks for pointing them out. Fixed now
.
Allan