Skip to content

Commit 7a0b452

Browse files
greenkeeper[bot]ofrobots
authored andcommitted
Update @types/meow to the latest version 🚀 (#122)
1 parent 3234014 commit 7a0b452

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@types/glob": "^5.0.30",
5454
"@types/inquirer": "0.0.36",
5555
"@types/make-dir": "^1.0.1",
56-
"@types/meow": "^3.6.2",
56+
"@types/meow": "^4.0.0",
5757
"@types/ncp": "^2.0.0",
5858
"@types/node": "^9.3.0",
5959
"@types/pify": "3.0.0",

src/cli.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import * as updateNotifier from 'update-notifier';
2020
import {init} from './init';
2121
import {clean} from './clean';
2222

23+
const packageJson = require('../../package.json');
24+
2325
export interface Logger {
2426
log: (...args: Array<{}>) => void;
2527
error: (...args: Array<{}>) => void;
@@ -107,7 +109,7 @@ async function run(verb: string, files: string[]): Promise<boolean> {
107109
}
108110
}
109111

110-
updateNotifier({pkg: cli.pkg}).notify();
112+
updateNotifier({pkg: packageJson}).notify();
111113

112114
if (cli.input.length < 1) {
113115
usage();

0 commit comments

Comments
 (0)