Skip to content

Commit

Permalink
add tests for org command
Browse files Browse the repository at this point in the history
PR-URL: #2353
Credit: @nlf
Close: #2353
Reviewed-by: @ruyadorno
  • Loading branch information
nlf committed Dec 15, 2020
1 parent cb5847e commit 996a2f6
Show file tree
Hide file tree
Showing 2 changed files with 587 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/org.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ function orgSet (org, user, role, opts) {
memDeets.org.size,
memDeets.user,
memDeets.role,
])
].join('\t'))
} else if (!opts.silent && opts.loglevel !== 'silent')
output(`Added ${memDeets.user} as ${memDeets.role} to ${memDeets.org.name}. You now ${memDeets.org.size} member${memDeets.org.size === 1 ? '' : 's'} in this org.`)
output(`Added ${memDeets.user} as ${memDeets.role} to ${memDeets.org.name}. You now have ${memDeets.org.size} member${memDeets.org.size === 1 ? '' : 's'} in this org.`)

return memDeets
})
Expand Down
Loading

0 comments on commit 996a2f6

Please sign in to comment.