Skip to content

Commit 3378e6c

Browse files
committed
fix: avoid invalidating the cache
Sort the returned list of excluded paths to prevent accidentally invalidating the cache. Signed-off-by: Randolph Sapp <rs@ti.com>
1 parent 27f02a5 commit 3378e6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/sectinc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ def generate_exclude_patterns(family_configlist):
3131
x.relative_to("source/").as_posix() for x in Path("source/").glob("**/*.rst")
3232
)
3333
exclude_files = all_rst_files.difference(include_files)
34-
return list(exclude_files)
34+
return sorted(list(exclude_files))

0 commit comments

Comments
 (0)