From 6bc7ee7091376e122aa7cc0f04fcac208a1bad61 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Sat, 21 Mar 2020 16:55:52 +0800 Subject: [PATCH] notify global package --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 9729b96..3658ab2 100644 --- a/src/index.js +++ b/src/index.js @@ -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];