From a8b7f7d0028aeb26c98c6331246b1f1b2b9284ab Mon Sep 17 00:00:00 2001 From: Anna Khismatullina Date: Wed, 30 Apr 2025 15:42:59 +0700 Subject: [PATCH] Fix logs in import step (#8780) Signed-off-by: Anna Khismatullina --- packages/importer/src/huly/cards.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/importer/src/huly/cards.ts b/packages/importer/src/huly/cards.ts index d9fac979e0..b0b6ba3e24 100644 --- a/packages/importer/src/huly/cards.ts +++ b/packages/importer/src/huly/cards.ts @@ -66,7 +66,7 @@ export class CardsProcessor { ) {} async processDirectory (directoryPath: string): Promise { - this.logger.log('Start looking for cards stuff in:', directoryPath) + this.logger.log('Start looking for cards stuff in:' + directoryPath) const result: UnifiedDocProcessResult = { docs: new Map(), @@ -128,7 +128,7 @@ export class CardsProcessor { for (const entry of yamlFiles) { const yamlPath = path.resolve(currentPath, entry.name) - this.logger.log('Reading yaml file:', yamlPath) + this.logger.log('Reading yaml file: ' + yamlPath) const yamlConfig = yaml.load(fs.readFileSync(yamlPath, 'utf8')) as Record switch (yamlConfig?.class) { @@ -253,7 +253,7 @@ export class CardsProcessor { masterTagAttributes: Map>>, parentCardId?: Ref ): Promise { - this.logger.log('Processing card:', cardPath) + this.logger.log('Processing card: ' + cardPath) if (cardProps.blobs !== undefined) { await this.createBlobs(cardProps.blobs, cardPath, result)