Skip to content

Commit fe2d623

Browse files
committed
comment about links to sections
1 parent bb31930 commit fe2d623

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/links.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ export function convertInternalLinks(
1818
return layoutStrategy.getLinkPathForPage(p);
1919
}
2020

21+
// About this situation. See https://github.com/sillsdev/docu-notion/issues/9
2122
warning(
22-
`Could not find the target of this link. Note that links to outline sections are not supported. ${url}`
23+
`Could not find the target of this link. Note that links to outline sections are not supported. ${url}. https://github.com/sillsdev/docu-notion/issues/9`
2324
);
2425

2526
return url;

src/log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function setLogLevel(l: levels): void {
66
logLevel = l;
77
}
88
export function error(s: string): void {
9-
console.error(chalk.bold.red(s));
9+
console.error(chalk.red(s));
1010
}
1111
export function warning(s: string): void {
1212
console.log(chalk.hex("#FFA500")(s));

0 commit comments

Comments
 (0)