fix(cli): improve changelog release handling and TypeScript compatibility
This commit is contained in:
@@ -46,7 +46,8 @@ export class TsconfigFormatter extends BaseFormatter {
|
||||
];
|
||||
}
|
||||
} catch (error) {
|
||||
logVerbose(`Could not get tspublish modules: ${error.message}`);
|
||||
const errorMessage = error instanceof Error ? error.message : String(error);
|
||||
logVerbose(`Could not get tspublish modules: ${errorMessage}`);
|
||||
}
|
||||
|
||||
tsconfigObject.compilerOptions.paths = { ...existingPaths, ...tspublishPaths };
|
||||
|
||||
Reference in New Issue
Block a user