Skip to content

Commit 6e73f3d

Browse files
[APIView] Adding "paths" back in the JSON to show re-exports (Azure#2311)
* adding paths back * undo cargo.lock
1 parent a5af27a commit 6e73f3d

File tree

1 file changed

+2
-4
lines changed
  • eng/tools/generate_api_report/src

1 file changed

+2
-4
lines changed

eng/tools/generate_api_report/src/main.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,8 @@ fn main() -> Result<(), Box<dyn Error>> {
6262
});
6363

6464
// Clear unnecessary fields in the Crate structure
65-
// 1. paths
66-
// 2. external_crates
67-
// 3. span in all items
68-
root.paths.clear();
65+
// 1. external_crates
66+
// 2. span in all items
6967
root.external_crates.clear();
7068
for (_id, item) in root.index.iter_mut() {
7169
// Reset span to default empty value

0 commit comments

Comments
 (0)