Commit 649fcbb
tools,doc: apilinks should handle root scenarios
* Prevent crash when setting root properties
* Allow return outside of function
PR-URL: #22721
Reviewed-By: Sam Ruby <rubys@intertwingly.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 9942117 commit 649fcbbCopy full SHA for 649fcbb
File tree
Expand file treeCollapse file tree
3 files changed
+16
-2
lines changedOpen diff view settings
Filter options
- test/fixtures/apilinks
- tools/doc
Expand file treeCollapse file tree
3 files changed
+16
-2
lines changedOpen diff view settings
Collapse file
test/fixtures/apilinks/root.js
Copy file name to clipboard+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
Collapse file
test/fixtures/apilinks/root.json
Copy file name to clipboard+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
52 | 52 | |
53 | 53 | |
54 | 54 | |
55 | | - |
| 55 | + |
| 56 | + |
| 57 | + |
56 | 58 | |
57 | 59 | |
58 | 60 | |
| ||
68 | 70 | |
69 | 71 | |
70 | 72 | |
71 | | - |
72 | 73 | |
| 74 | + |
73 | 75 | |
74 | 76 | |
75 | 77 | |
|
0 commit comments