Skip to content

Commit

Permalink
Update @types/meow to the latest version 馃殌 (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] authored and ofrobots committed Feb 9, 2018
1 parent 3234014 commit 7a0b452
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@types/glob": "^5.0.30",
"@types/inquirer": "0.0.36",
"@types/make-dir": "^1.0.1",
"@types/meow": "^3.6.2",
"@types/meow": "^4.0.0",
"@types/ncp": "^2.0.0",
"@types/node": "^9.3.0",
"@types/pify": "3.0.0",
Expand Down
4 changes: 3 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import * as updateNotifier from 'update-notifier';
import {init} from './init';
import {clean} from './clean';

const packageJson = require('../../package.json');

export interface Logger {
log: (...args: Array<{}>) => void;
error: (...args: Array<{}>) => void;
Expand Down Expand Up @@ -107,7 +109,7 @@ async function run(verb: string, files: string[]): Promise<boolean> {
}
}

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

if (cli.input.length < 1) {
usage();
Expand Down

0 comments on commit 7a0b452

Please sign in to comment.