Skip to content

Commit

Permalink
Readable paths in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Dec 30, 2020
1 parent abba7a0 commit d8d40f9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/testBuiltTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ async function main() {

if (importsTypesRelativeToWorkspace) {
console.error(
`${declarationFilePath} possibly imports types that are unreachable once published.`,
// readable path for CI while making it clickable locally
`${path.relative(
process.cwd(),
declarationFilePath,
)} possibly imports types that are unreachable once published.`,
);
process.exitCode = 1;
}
Expand Down

0 comments on commit d8d40f9

Please sign in to comment.