Skip to content

Commit 78ba6e9

Browse files
committed
chore: update kcl.mod file find logic
Signed-off-by: peefy <xpf6677@163.com>
1 parent 5c755bf commit 78ba6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check-all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def find_kcl_mod_files(directory):
2929
"""
3030
paths_with_kcl_mod = []
3131
for root, dirs, files in os.walk(directory):
32-
if "kcl.mod" in files:
32+
if "kcl.mod" in files and "main.k" in files:
3333
paths_with_kcl_mod.append(root)
3434
return paths_with_kcl_mod
3535

0 commit comments

Comments
 (0)