Skip to content

Commit

Permalink
Fixes electron#34 Parser not works anymore if useReadMe is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
MCMicS authored Jun 25, 2020
1 parent d8bec24 commit 18cb857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type ParseOptions = {
export async function parseDocs(options: ParseOptions) {
const packageMode = options.packageMode || 'single';

const apiDocsPath = options.baseDirectory || path.resolve('./', 'docs', 'api');
const apiDocsPath = path.resolve('./', 'docs', 'api');
const structuresPath = path.resolve(apiDocsPath, 'structures');

let structures: string[] = [];
Expand Down

0 comments on commit 18cb857

Please sign in to comment.