Generator for Editor with NodeJS issues (for the developers)
Generator for Editor with NodeJS issues (for the developers)
tablo
Posts: 58Questions: 13Answers: 0
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