Skip to content

Commit

Permalink
Remove update-notifier
Browse files Browse the repository at this point in the history
Not enough benefit to be worth it.

Fixes #559
  • Loading branch information
sindresorhus committed Jun 13, 2021
1 parent b6389ef commit 6adf459
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions cli-main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env node
'use strict';
const updateNotifier = require('update-notifier');
const getStdin = require('get-stdin');
const meow = require('meow');
const formatterPretty = require('eslint-formatter-pretty');
Expand Down Expand Up @@ -113,8 +112,6 @@ const cli = meow(`
}
});

updateNotifier({pkg: cli.pkg}).notify();

const {input, flags: options, showVersion} = cli;

// TODO: Fix this properly instead of the below workaround.
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@
"semver": "^7.3.5",
"slash": "^3.0.0",
"to-absolute-glob": "^2.0.2",
"typescript": "^4.2.4",
"update-notifier": "^5.1.0"
"typescript": "^4.2.4"
},
"devDependencies": {
"ava": "^3.15.0",
Expand Down

0 comments on commit 6adf459

Please sign in to comment.