From 8ecd4760f187f8611b998689b5fcf34e142203ec Mon Sep 17 00:00:00 2001 From: mindaugasdirg <25615181+mindaugasdirg@users.noreply.github.com> Date: Thu, 30 Nov 2023 17:34:24 +0200 Subject: [PATCH] Fix comment --- packages/transformer/src/IModelTransformer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/transformer/src/IModelTransformer.ts b/packages/transformer/src/IModelTransformer.ts index ad300c48..ee109dac 100644 --- a/packages/transformer/src/IModelTransformer.ts +++ b/packages/transformer/src/IModelTransformer.ts @@ -1322,7 +1322,7 @@ export class IModelTransformer extends IModelExportHandler { let schemaFileName = schema.name + ext; // many file systems have a max file-name/path-segment size of 255, so we workaround that on all systems const systemMaxPathSegmentSize = 255; - // windows usually has a limit for the total path length of 256 + // windows usually has a limit for the total path length of 260 const windowsMaxPathLimit = 260; if (schemaFileName.length > systemMaxPathSegmentSize || path.join(this._schemaExportDir, schemaFileName).length >= windowsMaxPathLimit) { // this name should be well under 255 bytes