Skip to content

Commit 9934f28

Browse files
committed
chore: update all deps
1 parent 4965523 commit 9934f28

3 files changed

Lines changed: 2369 additions & 3669 deletions

File tree

cli.js

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Promise = require('bluebird')
66
const pify = require('pify')
77
const ghauth = pify(require('ghauth'))
88

9-
const cli = meow([`
9+
const cli = meow(`
1010
Usage
1111
$ ignore-github-users <input> [opts]
1212
@@ -19,10 +19,16 @@ const cli = meow([`
1919
Ignored 3 issues with greenkeeper[bot].
2020
$ ignore-github-users greenkeeper[bot]
2121
No notifications from greenkeeper[bot].
22-
`], {
23-
alias: {
24-
t: 'token',
25-
e: 'enterprise'
22+
`, {
23+
flags: {
24+
'token': {
25+
'type': 'string',
26+
'alias': 't'
27+
},
28+
'enterprise': {
29+
'type': 'boolean',
30+
'alias': 'e'
31+
}
2632
}
2733
})
2834

@@ -53,6 +59,6 @@ Promise.resolve().then(() => {
5359
cli.flags.token = token
5460
return ignoreGithubUsers(cli.input[0], cli.flags)
5561
})
56-
.then((res) => {
57-
console.log((res && res.length !== 0) ? res : `No notifications from ${cli.input[0]}.`)
58-
})
62+
.then((res) => {
63+
console.log((res && res.length !== 0) ? res : `No notifications from ${cli.input[0]}.`)
64+
})

0 commit comments

Comments
 (0)