From 4027070b03be3bdae2515f2291de89b91f901df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Thu, 17 Jan 2019 16:10:47 -0800 Subject: [PATCH] org: fix usage error --- lib/org.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/org.js b/lib/org.js index ea013cc3d5e9a..9947bcb5663ae 100644 --- a/lib/org.js +++ b/lib/org.js @@ -60,7 +60,7 @@ function org ([cmd, orgname, username, role], cb) { }).then( x => cb(null, x), err => err.code === 'EUSAGE' ? err.message : err - ) + ).catch(cb) } function orgSet (org, user, role, opts) {