Skip to content

Commit 09c92b2

Browse files
committed
feat: logs
1 parent 070b392 commit 09c92b2

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

dist/action.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19443,7 +19443,9 @@ function linkify_headings() {
1944319443
data.section_stack.pop();
1944419444
}
1944519445
}
19446-
19446+
if (!data.section_stack) {
19447+
console.log(data.section_slug, node);
19448+
}
1944719449
data.section_stack[data.section_stack.length - 1].push({
1944819450
slug,
1944919451
title: title_text,

dist/cli.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18206,7 +18206,9 @@ function linkify_headings() {
1820618206
data.section_stack.pop();
1820718207
}
1820818208
}
18209-
18209+
if (!data.section_stack) {
18210+
console.log(data.section_slug, node);
18211+
}
1821018212
data.section_stack[data.section_stack.length - 1].push({
1821118213
slug,
1821218214
title: title_text,

src/format/headings.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ export function linkify_headings(): Transformer {
114114
data.section_stack.pop();
115115
}
116116
}
117-
117+
if (!data.section_stack) {
118+
console.log(data.section_slug, node);
119+
}
118120
data.section_stack[data.section_stack.length - 1].push({
119121
slug,
120122
title: title_text,

0 commit comments

Comments
 (0)