Skip to content

Commit

Permalink
Do not check length of group list
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Romero Brox committed Jun 3, 2013
1 parent 6d41c0e commit a3e7345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/provision.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ trans = {
if(program.expiration) {
trans.expirationDelay = program.expiration;
}
if(program.groups && program.groups.length!==0) {
trans.groups = program.groups;
if(program.groups) {
trans.groups = program.groups;
}
if(program.callback) {
trans.callback = program.callback;
Expand Down

0 comments on commit a3e7345

Please sign in to comment.