Fix output of filename when outputting docs with the -in-source-order option.

This commit is contained in:
Montgomery committed 2026-04-08 12:49:51 +01:00
1 parent 68942ce53d
commit 56a1a81a38
1 file changed
+1 -1
+1 -1
View File
@@ -289,7 +289,7 @@ gb_internal void print_doc_package(CheckerInfo *info, AstPackage *pkg) {
}
curr_file = e->file;
String filename = remove_directory_from_path(curr_file->fullpath);
print_doc_line(1, "file: %s", filename);
print_doc_line(1, "file: %.*s", LIT(filename));
}
} else {
if (curr_entity_kind != e->kind) {