From d8d40f9bd60d90be99d26217243876ac1682786a Mon Sep 17 00:00:00 2001 From: eps1lon Date: Wed, 30 Dec 2020 11:36:44 +0100 Subject: [PATCH] Readable paths in CI --- scripts/testBuiltTypes.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/testBuiltTypes.js b/scripts/testBuiltTypes.js index 3701b03742bc8f..5e85818e029530 100644 --- a/scripts/testBuiltTypes.js +++ b/scripts/testBuiltTypes.js @@ -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; }