fix: makes the typegen logs use cwd instead of __dirname

This commit is contained in:
Convly 2024-03-04 14:37:54 +01:00
parent b5de06e35d
commit c71da2e421

View File

@ -100,7 +100,7 @@ const generate = async (config = {}) => {
try {
const outPath = await saveDefinitionToFileSystem(registryPwd, filename, report.output);
const relativeOutPath = path.relative(__dirname, outPath);
const relativeOutPath = path.relative(process.cwd(), outPath);
artifactFsTimer.end();