Updated scripts for generating up-to-date sql setup file

This commit is contained in:
Andris Reinman 2016-05-01 20:19:38 +03:00
parent 03bed93643
commit 09ff342906
5 changed files with 68 additions and 41 deletions

View file

@ -1,5 +1,10 @@
'use strict';
if (process.env.NODE_ENV === 'production') {
console.log('This script does not run in production'); // eslint-disable-line no-console
process.exit(1);
}
let dbcheck = require('../../lib/dbcheck');
let log = require('npmlog');