Skip to content

Commit ebb06cb

Browse files
committed
Change parsed.excluded to parsed.exclude
1 parent bfcb235 commit ebb06cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fprime/util/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def run_code_format(
202202
for file in dir_path.rglob(f"*{allowed_ext}"):
203203
clang_formatter.stage_file(file)
204204
# Remove staged files that are within excluded directories
205-
for excluded_dir in parsed.excluded:
205+
for excluded_dir in parsed.exclude:
206206
excluded_path = Path(excluded_dir)
207207
if not excluded_path.is_dir():
208208
print(f"[INFO] {excluded_path} is not a directory. Skipping it from excluded directories.")

0 commit comments

Comments
 (0)