mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Added suggestion for find command
This commit is contained in:
@@ -452,7 +452,7 @@ def write_output(data):
|
||||
|
||||
# Uses the `find` program to return the filenames in the specified folders.
|
||||
def find_files():
|
||||
find_command = ["find"] + search_folders
|
||||
find_command = ["find"] + search_folders + ["-type", "f", "-name", "*.[ch]"]
|
||||
try:
|
||||
return subprocess.check_output(find_command, cwd=root_dir, encoding="utf-8")
|
||||
except subprocess.CalledProcessError:
|
||||
|
||||
Reference in New Issue
Block a user