1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-09-16 09:41:38 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

notify global package

This commit is contained in:
sunnylqm
2020-03-21 16:55:52 +08:00
parent 9d00325519
commit 6bc7ee7091

View File

@@ -7,7 +7,7 @@ const {loadSession} = require('./api');
const updateNotifier = require('update-notifier');
const pkg = require('../package.json');
updateNotifier({pkg}).notify();
updateNotifier({pkg}).notify({isGlobal: true});
function printUsage({args}) {
// const commandName = args[0];