ignore 404 errors
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
50294c7e2f
commit
41b6042b3d
|
@ -7,7 +7,10 @@ g = Github(os.environ['GH_TOKEN'])
|
|||
org = g.get_organization('status-im')
|
||||
|
||||
for repo in org.get_repos():
|
||||
try:
|
||||
contents = repo.get_dir_contents('/')
|
||||
except:
|
||||
continue
|
||||
# check if repo contains package.json
|
||||
found = [f for f in contents if f.path == 'package.json']
|
||||
if len(found) > 0:
|
||||
|
|
Loading…
Reference in New Issue