Skip to content

Commit

Permalink
Fix issues caught by Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
walterdolce committed Feb 19, 2019
1 parent ec6b9f0 commit 31b363a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions libraries/google_projects.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ def fetch_data
end
return [] if !@projects || !@projects.projects
@projects.projects.map do |project|
project_rows += [{
project_id: project.project_id,
project_name: project.name,
project_number: project.project_number,
lifecycle_state: project.lifecycle_state,
}]
project_rows += [{ project_id: project.project_id,
project_name: project.name,
project_number: project.project_number,
lifecycle_state: project.lifecycle_state }]
end
next_page = @projects.next_page_token
break unless next_page
Expand Down

0 comments on commit 31b363a

Please sign in to comment.