Skip to content
This repository was archived by the owner on Jul 28, 2021. It is now read-only.

Commit 8b80c17

Browse files
committed
fix(profile set password): fix --json output
1 parent 1f4ecbf commit 8b80c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/profile.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ async function setPassword (argv) {
212212
}, opts))
213213

214214
if (opts.json) {
215-
console.log({ }, null, 2)
215+
console.log(JSON.stringify({}, null, 2))
216216
} else if (opts.parseable) {
217217
console.log(['password', 'undefined'].join('\t'))
218218
} else if (!opts.silent && opts.loglevel !== 'silent') {

0 commit comments

Comments
 (0)