Skip to content

Commit d8d40f9

Browse files
committed
Readable paths in CI
1 parent abba7a0 commit d8d40f9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/testBuiltTypes.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ async function main() {
2727

2828
if (importsTypesRelativeToWorkspace) {
2929
console.error(
30-
`${declarationFilePath} possibly imports types that are unreachable once published.`,
30+
// readable path for CI while making it clickable locally
31+
`${path.relative(
32+
process.cwd(),
33+
declarationFilePath,
34+
)} possibly imports types that are unreachable once published.`,
3135
);
3236
process.exitCode = 1;
3337
}

0 commit comments

Comments
 (0)