From 279821e999c92a6c1b9aa1d47c8122a6283f1613 Mon Sep 17 00:00:00 2001 From: Thomas Gohard Date: Sun, 14 Oct 2018 09:54:40 -0400 Subject: [PATCH] Fix errors causing build to fail the rubocop checks. --- script/ensure-orgs | 1 + script/fetch-us | 1 + 2 files changed, 2 insertions(+) diff --git a/script/ensure-orgs b/script/ensure-orgs index a4b073bc2..e03277d94 100755 --- a/script/ensure-orgs +++ b/script/ensure-orgs @@ -41,6 +41,7 @@ files.each do |file| data.each do |group, orgs| not_orgs = Parallel.map(orgs) { |org| org unless org?(org) }.compact next if not_orgs.empty? + puts "\nIn #{File.basename(file)}, in the #{group} group, the following entries are users, not orgs:\n\n" puts not_orgs valid = false diff --git a/script/fetch-us b/script/fetch-us index 22456423e..86d9ebd5d 100755 --- a/script/fetch-us +++ b/script/fetch-us @@ -27,6 +27,7 @@ orgs = orgs['results'].collect { |data| data['account'] } orgs.each do |org| next if existing.include?(org.downcase) next unless org_exists? org + org_file['U.S. Federal'].push(org.downcase) end