diff --git a/script/ensure-orgs b/script/ensure-orgs index a4b073bc..e03277d9 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 22456423..86d9ebd5 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