Skip to content

Commit 9663cf9

Browse files
committed
missing status_draft back to false
1 parent 9057619 commit 9663cf9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/main.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,10 @@ static void scan_docs (const char *base_url, const char *dir_path) {
629629

630630
const char *slug_path = process_md(source_code, buffer, &size, astro_header, &header_size);
631631

632-
if(status_draft) continue;
632+
if(status_draft){
633+
status_draft = false;
634+
continue;
635+
}
633636

634637
if(OPTIONS_COL) process_json(astro_header, &header_size);
635638

0 commit comments

Comments
 (0)