Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
alicewriteswrongs committed Jun 23, 2023
1 parent 01ff030 commit e6fc4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/transformers/type-library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function addFileToLibrary(config: ValidatedConfig, filePath: string): voi
const sourceFile = program.getSourceFile(filePath);

if (!sourceFile) {
config.logger.warn(`Could not gather type information from "${filePath}"!`);
config.logger.warn(`docs-json: unable to gather type information from "${filePath}". Please double check this path exists relative to your project root.`);
return;
}

Expand Down

0 comments on commit e6fc4e3

Please sign in to comment.