Skip to content

Commit c30d09d

Browse files
committed
Updated simple-update-notifier usage.
1 parent 7bb6ef2 commit c30d09d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/doxdox-cli/src/index.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { fileURLToPath } from 'url';
1010

1111
import { globby } from 'globby';
1212

13-
import updateNotifier from 'update-notifier';
13+
import updateNotifier from 'simple-update-notifier';
1414

1515
import parseCmdArgs from 'parse-cmd-args';
1616

@@ -89,9 +89,7 @@ const overridePackage = String(
8989
if (pkgPath) {
9090
const pkg = JSON.parse(await fs.readFile(pkgPath, 'utf8'));
9191

92-
const notifier = updateNotifier({ pkg });
93-
94-
notifier.notify();
92+
updateNotifier({ pkg });
9593

9694
if (showVersion) {
9795
process.stdout.write(`${pkg.version}${EOL}`);

0 commit comments

Comments
 (0)