Description
If a directory is present when trying to run the search, it will fail with the below error.
I.e. if the flag --dir ".github/" is used for a repository which also contains .github/workflows/, it will fail for the workflows/ directory.
Traceback (most recent call last):
File "/env/main.py", line 127, in <module>
main()
File "/env/main.py", line 119, in main
files = get_files(args.org, header_auth, repo, branch, args.dir)
File "/env/main.py", line 66, in get_files
if not bool(file["object"]["isBinary"]):
KeyError: 'isBinary'
Description
If a directory is present when trying to run the search, it will fail with the below error.
I.e. if the flag
--dir ".github/"is used for a repository which also contains.github/workflows/, it will fail for theworkflows/directory.