Skip to content

Commit 4027070

Browse files
committed
org: fix usage error
1 parent bb8688d commit 4027070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/org.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function org ([cmd, orgname, username, role], cb) {
6060
}).then(
6161
x => cb(null, x),
6262
err => err.code === 'EUSAGE' ? err.message : err
63-
)
63+
).catch(cb)
6464
}
6565

6666
function orgSet (org, user, role, opts) {

0 commit comments

Comments
 (0)