File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env node
2+ const updateNotifier = require ( 'update-notifier' )
3+ const pkg = require ( '../package.json' )
4+
5+ updateNotifier ( { pkg, updateCheckInterval : 0 } ) . notify ( )
6+
27const chalk = require ( 'chalk' )
38const yargs = require ( 'yargs' )
49
@@ -115,9 +120,11 @@ async function main() {
115120 if ( argv . h ) {
116121 // Had to do this because couldn't get yargs#epilogue() to work
117122 process . stdout . write ( `
123+
118124 For help or more information, ping me at
119125 https://twitter.com/${ chalk . whiteBright ( 'agentofuser' ) }
120- ` )
126+
127+ ` )
121128 } else {
122129 const pinnedHash = await deploy ( deployOptions )
123130 if ( ! pinnedHash ) {
Original file line number Diff line number Diff line change 5050 "prettier" : " ^1.17.0" ,
5151 "public-ip" : " ^3.1.0" ,
5252 "trammel" : " ^2.1.0" ,
53+ "update-notifier" : " ^2.5.0" ,
5354 "yargs" : " ^13.2.2"
5455 },
5556 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments