mirror of
https://github.com/wassname/talk.git
synced 2026-08-04 13:23:35 +08:00
hardened configuration
- moved env rewrite + dotenv code to single location - fixed bug with system flag on user
This commit is contained in:
+1
-1
@@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
const util = require('./util');
|
||||
const program = require('commander');
|
||||
const inquirer = require('inquirer');
|
||||
const mongoose = require('../services/mongoose');
|
||||
const SettingsService = require('../services/settings');
|
||||
const util = require('./util');
|
||||
|
||||
// Register the shutdown criteria.
|
||||
util.onshutdown([() => mongoose.disconnect()]);
|
||||
|
||||
Reference in New Issue
Block a user