diff --git a/packages/techdocs-common/src/stages/publish/awsS3.ts b/packages/techdocs-common/src/stages/publish/awsS3.ts index 348a17e35a..317f296fce 100644 --- a/packages/techdocs-common/src/stages/publish/awsS3.ts +++ b/packages/techdocs-common/src/stages/publish/awsS3.ts @@ -114,9 +114,9 @@ export class AwsS3Publish implements PublisherBase { return new AwsS3Publish( storageClient, bucketName, - bucketRootPath, legacyPathCasing, logger, + bucketRootPath, ); } @@ -154,15 +154,15 @@ export class AwsS3Publish implements PublisherBase { constructor( private readonly storageClient: aws.S3, private readonly bucketName: string, - private readonly bucketRootPath: string, private readonly legacyPathCasing: boolean, private readonly logger: Logger, + private readonly bucketRootPath: string, ) { this.storageClient = storageClient; this.bucketName = bucketName; - this.bucketRootPath = bucketRootPath; this.legacyPathCasing = legacyPathCasing; this.logger = logger; + this.bucketRootPath = bucketRootPath; } /** diff --git a/packages/techdocs-common/src/stages/publish/googleStorage.ts b/packages/techdocs-common/src/stages/publish/googleStorage.ts index e1c0a2b7ea..51be9eeea5 100644 --- a/packages/techdocs-common/src/stages/publish/googleStorage.ts +++ b/packages/techdocs-common/src/stages/publish/googleStorage.ts @@ -86,24 +86,24 @@ export class GoogleGCSPublish implements PublisherBase { return new GoogleGCSPublish( storageClient, bucketName, - bucketRootPath, legacyPathCasing, logger, + bucketRootPath, ); } constructor( private readonly storageClient: Storage, private readonly bucketName: string, - private readonly bucketRootPath: string, private readonly legacyPathCasing: boolean, private readonly logger: Logger, + private readonly bucketRootPath: string, ) { this.storageClient = storageClient; this.bucketName = bucketName; - this.bucketRootPath = bucketRootPath; this.legacyPathCasing = legacyPathCasing; this.logger = logger; + this.bucketRootPath = bucketRootPath; } /**