Skip to content

Commit 6e5afa0

Browse files
authored
Update build.py
罠やめろ
1 parent 26673f3 commit 6e5afa0

File tree

1 file changed

+3
-3
lines changed
  • onlinejudge_verify/documentation

1 file changed

+3
-3
lines changed

onlinejudge_verify/documentation/build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ def ext(relative_path: pathlib.Path) -> Dict[str, Any]:
107107
'icon': _get_verification_status_icon(stat.verification_status),
108108
}
109109

110-
data['_extendedDependsOn'] = [ext(path) for path in sorted(stat.depends_on, key=lambda x: x.path)]
111-
data['_extendedRequiredBy'] = [ext(path) for path in sorted(stat.required_by, key=lambda x: x.path)]
112-
data['_extendedVerifiedWith'] = [ext(path) for path in sorted(stat.verified_with, key=lambda x: x.path)]
110+
data['_extendedDependsOn'] = [ext(path) for path in sorted(stat.depends_on, key=lambda x: str(x))]
111+
data['_extendedRequiredBy'] = [ext(path) for path in sorted(stat.required_by, key=lambda x: str(x))]
112+
data['_extendedVerifiedWith'] = [ext(path) for path in sorted(stat.verified_with, key=lambda x: str(x))]
113113

114114
return data
115115

0 commit comments

Comments
 (0)