diff --git a/use_existing_torch.py b/use_existing_torch.py index 39c327e967..d090c4a4c4 100644 --- a/use_existing_torch.py +++ b/use_existing_torch.py @@ -32,7 +32,7 @@ def main(argv): for file in ( *glob.glob("requirements/**/*.txt", recursive=True), *glob.glob("requirements/**/*.in", recursive=True), - "pyproject.toml", + *glob.glob("pyproject.toml"), ): with open(file) as f: lines = f.readlines()