Skip to content

Commit

Permalink
chore: update kcl.mod file find logic
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Aug 22, 2024
1 parent 5c755bf commit 78ba6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-all.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def find_kcl_mod_files(directory):
"""
paths_with_kcl_mod = []
for root, dirs, files in os.walk(directory):
if "kcl.mod" in files:
if "kcl.mod" in files and "main.k" in files:
paths_with_kcl_mod.append(root)
return paths_with_kcl_mod

Expand Down

0 comments on commit 78ba6e9

Please sign in to comment.