Skip to content

Commit

Permalink
Style changes for malomalo#5 (review)
Browse files Browse the repository at this point in the history
  • Loading branch information
waratuman committed Jan 5, 2018
1 parent d13b78b commit a273cbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sync-accounts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a273cbf

Please sign in to comment.