Skip to content

Commit 76ab221

Browse files
Gerrit0aciccarello
authored andcommitted
fix option file module resolution (#947)
Fixes #945
1 parent 4183f07 commit 76ab221

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/utils/options/readers/typedoc.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ export class TypedocReader extends OptionsComponent {
6464
* @return the typedoc.(js|json) file path or undefined
6565
*/
6666
findTypedocFile(path: string): string | undefined {
67+
path = Path.resolve(path);
68+
6769
if (FS.existsSync(path) && FS.statSync(path).isFile()) {
6870
return path;
6971
}

0 commit comments

Comments
 (0)