Skip to content

Commit 553df24

Browse files
committed
some logs to see what is going on
1 parent 63aa5b5 commit 553df24

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

dist/main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/fs/get_content.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ function get_pkg_and_readme(
5151
fs.readFile(path.join(base, pkg_dir, "package.json"), fs_opts),
5252
fs.readFile(path.join(base, pkg_dir, "README.md"), fs_opts),
5353
]);
54+
console.log(
55+
`\n - get_pkg_and_readme: ${path.join(
56+
base,
57+
pkg_dir,
58+
"package.json"
59+
)} - \n`
60+
);
61+
console.log(pkg, docs);
5462
rs([JSON.parse(pkg).name, docs]);
5563
} catch (e) {
5664
rs(false);

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async function run() {
9393

9494
const formatted_base_docs = base_docs.api.map(([name, content]) => [
9595
name,
96-
increment_headings(content),
96+
format_api(name, content),
9797
]);
9898
console.log(formatted_base_docs);
9999

0 commit comments

Comments
 (0)