Updated dependencies not locked by require.
This commit is contained in:
+2
-1
@@ -2,6 +2,7 @@
|
||||
|
||||
const config = require('config');
|
||||
const yargs = require('yargs');
|
||||
const { hideBin } = require('yargs/helpers');
|
||||
const moment = require('moment');
|
||||
|
||||
function interpretDate(after, ignoreIfEmpty = false) {
|
||||
@@ -27,7 +28,7 @@ function interpretDate(after, ignoreIfEmpty = false) {
|
||||
.toDate();
|
||||
}
|
||||
|
||||
const { argv } = yargs
|
||||
const { argv } = yargs(hideBin(process.argv))
|
||||
.command('npm start')
|
||||
.command('update', 'fetch latest updates', () => {
|
||||
console.log('UPDATING!');
|
||||
|
||||
Reference in New Issue
Block a user