diff options
| author | Martin Bielik <martin.bielik@instea.sk> | 2024-12-21 00:52:33 +0100 |
|---|---|---|
| committer | Martin Bielik <martin.bielik@instea.sk> | 2024-12-21 00:52:33 +0100 |
| commit | 4f9a7434e58e9346c1db64028386451cda5869a0 (patch) | |
| tree | 929a7f52fb9ac0fd56603acead32dba98d5452f2 | |
| parent | 2643c4f3e7a637d1c289a2ff3ad582deb11de3c0 (diff) | |
| download | vim-ai-4f9a7434e58e9346c1db64028386451cda5869a0.tar.gz | |
fix test: sorting glob output
| -rw-r--r-- | py/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/utils.py b/py/utils.py index b2960f2..d118326 100644 --- a/py/utils.py +++ b/py/utils.py @@ -131,7 +131,7 @@ def parse_include_paths(path): expanded_paths = [path] if '*' in path: - expanded_paths = glob.glob(path, recursive=True) + expanded_paths = sorted(glob.glob(path, recursive=True)) return [path for path in expanded_paths if not os.path.isdir(path)] |