Skip to content

Commit fbbacb6

Browse files
authored
Remove update-notifier dependency
1 parent 1d92b78 commit fbbacb6

File tree

3 files changed

+184
-50
lines changed

3 files changed

+184
-50
lines changed

lib/cli.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import ciParallelVars from 'ci-parallel-vars';
66
import del from 'del';
77
import figures from 'figures';
88
import readPkg from 'read-pkg';
9-
import updateNotifier from 'update-notifier';
109

1110
import Api from './api.js';
1211
import {chalk} from './chalk.js';
@@ -19,7 +18,6 @@ import {splitPatternAndLineNumbers} from './line-numbers.js';
1918
import {loadConfig} from './load-config.js';
2019
import normalizeModuleTypes from './module-types.js';
2120
import normalizeNodeArguments from './node-arguments.js';
22-
import avaPackage from './pkg.cjs';
2321
import providerManager from './provider-manager.js';
2422
import DefaultReporter from './reporters/default.js';
2523
import TapReporter from './reporters/tap.js';
@@ -243,8 +241,6 @@ export default async () => { // eslint-disable-line complexity
243241
}
244242
}
245243

246-
updateNotifier({pkg: avaPackage}).notify();
247-
248244
const {nonSemVerExperiments: experiments, projectDir} = conf;
249245
if (resetCache) {
250246
const cacheDir = path.join(projectDir, 'node_modules', '.cache', 'ava');

0 commit comments

Comments
 (0)