Skip to content

Commit 3594ef8

Browse files
committed
tools: 迁移脚本支持下 .jsonc
1 parent 6913035 commit 3594ef8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/migrate_pipeline_v5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ def find_pipeline_files(directory: Path) -> list:
665665
# 排除以 . 开头的文件
666666
if file.startswith("."):
667667
continue
668-
if file.lower().endswith(".json"):
668+
if file.lower().endswith(".json") or file.lower().endswith(".jsonc"):
669669
json_files.append(Path(root) / file)
670670

671671
return json_files

0 commit comments

Comments
 (0)