Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve error
Browse files Browse the repository at this point in the history
samijaber committed Feb 5, 2024
1 parent 62fd70e commit e4c18c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/helpers/typescript-project.ts
Original file line number Diff line number Diff line change
@@ -54,7 +54,9 @@ const getProject = (tsConfigFilePath: string) => {
return new Project({ tsConfigFilePath });
} catch (err) {
throw new Error(
'Error creating Typescript Project. Make sure `tsConfigFilePath` points to a valid tsconfig.json file',
`Error creating Typescript Project. Make sure \`tsConfigFilePath\` points to a valid tsconfig.json file.
Path received: "${tsConfigFilePath}"
`,
);
}
};

0 comments on commit e4c18c7

Please sign in to comment.