diff --git a/sync-accounts b/sync-accounts index 9620efa..8781505 100755 --- a/sync-accounts +++ b/sync-accounts @@ -28,13 +28,13 @@ def read_permissions(url) end # Add keys to users and apps - if (yaml['users']) + if yaml['users'] yaml['users'].each do |user| permissions['users'][user] = github_keys(user) end end - if (yaml['apps']) + if yaml['apps'] yaml['apps'].each do |app, users| permissions['apps'][app] = users.map{|u| github_keys(u) }.flatten end