mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-09-16 09:41:38 +08:00
notify global package
This commit is contained in:
@@ -7,7 +7,7 @@ const {loadSession} = require('./api');
|
|||||||
const updateNotifier = require('update-notifier');
|
const updateNotifier = require('update-notifier');
|
||||||
const pkg = require('../package.json');
|
const pkg = require('../package.json');
|
||||||
|
|
||||||
updateNotifier({pkg}).notify();
|
updateNotifier({pkg}).notify({isGlobal: true});
|
||||||
|
|
||||||
function printUsage({args}) {
|
function printUsage({args}) {
|
||||||
// const commandName = args[0];
|
// const commandName = args[0];
|
||||||
|
Reference in New Issue
Block a user