Skip to content

Commit 070b392

Browse files
committed
feat: logs
1 parent 7a1c786 commit 070b392

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

dist/action.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19432,6 +19432,9 @@ function linkify_headings() {
1943219432
// TODO: check that prev_section[prev_section.length - 1] exists
1943319433
// skipping heading levels can cause problems here
1943419434
// maybe check current level against prev_level to validate?
19435+
if (!data.section_stack) {
19436+
console.log(data.section_slug, node);
19437+
}
1943519438
data.section_stack.push(
1943619439
prev_section[prev_section.length - 1].sections || []
1943719440
);

dist/cli.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18195,6 +18195,9 @@ function linkify_headings() {
1819518195
// TODO: check that prev_section[prev_section.length - 1] exists
1819618196
// skipping heading levels can cause problems here
1819718197
// maybe check current level against prev_level to validate?
18198+
if (!data.section_stack) {
18199+
console.log(data.section_slug, node);
18200+
}
1819818201
data.section_stack.push(
1819918202
prev_section[prev_section.length - 1].sections || []
1820018203
);

src/format/headings.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ export function linkify_headings(): Transformer {
103103
// TODO: check that prev_section[prev_section.length - 1] exists
104104
// skipping heading levels can cause problems here
105105
// maybe check current level against prev_level to validate?
106+
if (!data.section_stack) {
107+
console.log(data.section_slug, node);
108+
}
106109
data.section_stack.push(
107110
prev_section[prev_section.length - 1].sections || []
108111
);

0 commit comments

Comments
 (0)