Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mindaugasdirg committed Nov 30, 2023
1 parent 992942c commit 8ecd476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/transformer/src/IModelTransformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ecd476

Please sign in to comment.