Skip to content

Commit 4df8883

Browse files
committed
remove comment
1 parent a5526c9 commit 4df8883

File tree

1 file changed

+2
-5
lines changed
  • packages/docsify-server-renderer

1 file changed

+2
-5
lines changed

packages/docsify-server-renderer/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ export default class Renderer {
6262
return isAbsolutePath(file) ? file : cwd(`./${file}`);
6363
}
6464

65-
// CONTINUE:
66-
// - looking for why navbar renders "undefined" in linux
67-
// - split SSR tests and ESM improvements into two PRs (in that order)
68-
// - rebase on John's Vue stuff
69-
7065
/**
7166
* @param {string} url
7267
* @returns {Promise<string>}
@@ -167,6 +162,7 @@ export default class Renderer {
167162
let content;
168163
try {
169164
if (isAbsolutePath(filePath)) {
165+
console.log('ABSOLUTE PATH:', filePath);
170166
const res = await fetch(filePath);
171167

172168
if (!res.ok) {
@@ -188,6 +184,7 @@ export default class Renderer {
188184
content = await res.text();
189185
this.lock = 0;
190186
} else {
187+
console.log('RELATIVE PATH:', filePath);
191188
content = await readFileSync(filePath, 'utf8');
192189
this.lock = 0;
193190
}

0 commit comments

Comments
 (0)