diff options
Diffstat (limited to 'lib/whoami.js')
-rw-r--r-- | lib/whoami.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/whoami.js b/lib/whoami.js index 180eb3317..6e2841359 100644 --- a/lib/whoami.js +++ b/lib/whoami.js @@ -3,13 +3,13 @@ const getIdentity = require('./utils/get-identity.js') const BaseCommand = require('./base-command.js') class Whoami extends BaseCommand { /* istanbul ignore next - see test/lib/load-all-commands.js */ - static get name () { - return 'whoami' + static get description () { + return 'Display npm username' } /* istanbul ignore next - see test/lib/load-all-commands.js */ - static get description () { - return 'prints username according to given registry' + static get name () { + return 'whoami' } /* istanbul ignore next - see test/lib/load-all-commands.js */ |