mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Fix ChainedConverter logging when there are no intermediates
This commit is contained in:
@@ -143,7 +143,7 @@ export class ChainedConverter extends RepresentationConverter {
|
||||
}
|
||||
|
||||
const { path } = match;
|
||||
this.logger.debug(`Converting ${match.inType} -> ${path.intermediateTypes.join(' -> ')} -> ${match.outType}.`);
|
||||
this.logger.debug(`Converting ${match.inType} -> ${[ ...path.intermediateTypes, match.outType ].join(' -> ')}.`);
|
||||
|
||||
const args = { ...input };
|
||||
for (let i = 0; i < path.converters.length - 1; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user