@heroku/skynet 1.6.15 → 1.6.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commands/suspensions.js +3 -3
- package/lib/skynet.js +2 -2
- package/package.json +1 -1
package/commands/suspensions.js
CHANGED
|
@@ -6,7 +6,7 @@ const SkynetAPI = require('../lib/skynet')
|
|
|
6
6
|
async function run (context) {
|
|
7
7
|
sudo()
|
|
8
8
|
const skynet = new SkynetAPI(context.auth.password)
|
|
9
|
-
let response = await skynet.suspensions(context.flags.
|
|
9
|
+
let response = await skynet.suspensions(context.flags.account)
|
|
10
10
|
response = JSON.parse(response)
|
|
11
11
|
cli.log(response)
|
|
12
12
|
}
|
|
@@ -16,9 +16,9 @@ module.exports = {
|
|
|
16
16
|
command: 'suspensions',
|
|
17
17
|
description: '(requires sudo) suspnesions history of the given user account',
|
|
18
18
|
help: `Examples:
|
|
19
|
-
$ heroku skynet:suspensions -
|
|
19
|
+
$ heroku skynet:suspensions -a [user account]`,
|
|
20
20
|
flags: [
|
|
21
|
-
{ name: '
|
|
21
|
+
{ name: 'account', char: 'a', description: 'user account email', hasValue: true, required: true }
|
|
22
22
|
],
|
|
23
23
|
run: command(run)
|
|
24
24
|
}
|
package/lib/skynet.js
CHANGED