Skip to content

Commit

Permalink
Merge pull request #8633 from ever-co/fix/cspell-typo
Browse files Browse the repository at this point in the history
fix(cspell): typo spelling :-)
  • Loading branch information
rahul-rocket authored Dec 27, 2024
2 parents 6276ac5 + 11cc285 commit 9fb4fb6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class CloudinaryProvider extends Provider<CloudinaryProvider> {
public readonly name = FileStorageProviderEnum.CLOUDINARY;
public config: ICloudinaryConfig & FileSystem;

private readonly _detailedloggingEnabled = false;
private readonly _detailedLoggingEnabled= false;

constructor() {
super();
Expand Down Expand Up @@ -104,7 +104,7 @@ export class CloudinaryProvider extends Provider<CloudinaryProvider> {
const settings = request['tenantSettings'];

if (settings) {
if (this._detailedloggingEnabled)
if (this._detailedLoggingEnabled)
console.log(`setWasabiConfiguration Tenant Settings value: ${JSON.stringify(settings)}`);

if (trimAndGetValue(settings.cloudinary_cloud_name))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class DigitalOceanS3Provider extends Provider<DigitalOceanS3Provider> {
public config: IDigitalOceanProviderConfig;
public defaultConfig: IDigitalOceanProviderConfig;

private readonly _detailedloggingEnabled = false;
private readonly _detailedLoggingEnabled= false;

constructor() {
super();
Expand Down Expand Up @@ -86,7 +86,7 @@ export class DigitalOceanS3Provider extends Provider<DigitalOceanS3Provider> {
...this.defaultConfig
};

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log(`setDigitalOceanConfiguration this config value: ${JSON.stringify(this.config)}`);
}

Expand All @@ -96,46 +96,46 @@ export class DigitalOceanS3Provider extends Provider<DigitalOceanS3Provider> {
const settings = request['tenantSettings'];

if (settings) {
if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log(`setDigitalOceanConfiguration Tenant Settings Value: ${JSON.stringify(settings)}`);
}

if (trimAndGetValue(settings.digitalocean_access_key_id)) {
this.config.digitalocean_access_key_id = trimAndGetValue(settings.digitalocean_access_key_id);

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log(`setDigitalOceanConfiguration this.config.digitalocean_access_key_id value: ${this.config.digitalocean_access_key_id}`);
}
}

if (trimAndGetValue(settings.digitalocean_secret_access_key)) {
this.config.digitalocean_secret_access_key = trimAndGetValue(settings.digitalocean_secret_access_key);

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log(`setDigitalOceanConfiguration this.config.digitalocean_secret_access_key value: ${this.config.digitalocean_secret_access_key}`);
}
}

if (trimAndGetValue(settings.digitalocean_service_url)) {
this.config.digitalocean_service_url = addHttpsPrefix(trimAndGetValue(settings.digitalocean_service_url));

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log('setDigitalOceanConfiguration this.config.digitalocean_service_url value: ', this.config.digitalocean_service_url);
}
}

if (trimAndGetValue(settings.digitalocean_default_region)) {
this.config.digitalocean_default_region = trimAndGetValue(settings.digitalocean_default_region);

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log('setDigitalOceanConfiguration this.config.digitalocean_default_region value: ', this.config.digitalocean_default_region);
}
}

if (trimAndGetValue(settings.digitalocean_s3_bucket)) {
this.config.digitalocean_s3_bucket = trimAndGetValue(settings.digitalocean_s3_bucket);

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log('setDigitalOceanConfiguration this.config.digitalocean_s3_bucket value: ', this.config.digitalocean_s3_bucket);
}
}
Expand All @@ -144,7 +144,7 @@ export class DigitalOceanS3Provider extends Provider<DigitalOceanS3Provider> {
const forcePathStyle = trimAndGetValue(settings.digitalocean_s3_force_path_style);
this.config.digitalocean_s3_force_path_style = forcePathStyle === 'true' || forcePathStyle === '1';

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log('setDigitalOceanConfiguration this.config.digitalocean_s3_force_path_style value: ', this.config.digitalocean_s3_force_path_style);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class S3Provider extends Provider<S3Provider> {
public config: IS3ProviderConfig;
public defaultConfig: IS3ProviderConfig;

private readonly _detailedloggingEnabled = false;
private readonly _detailedLoggingEnabled= false;

constructor() {
super();
Expand Down Expand Up @@ -93,7 +93,7 @@ export class S3Provider extends Provider<S3Provider> {
const settings = request['tenantSettings'];

if (settings) {
if (this._detailedloggingEnabled)
if (this._detailedLoggingEnabled)
console.log(`setWasabiConfiguration Tenant Settings value: ${JSON.stringify(settings)}`);

if (trimAndGetValue(settings.aws_access_key_id))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class WasabiS3Provider extends Provider<WasabiS3Provider> {
public config: IWasabiProviderConfig;
public defaultConfig: IWasabiProviderConfig;

private readonly _detailedloggingEnabled = false;
private readonly _detailedLoggingEnabled= false;

constructor() {
super();
Expand Down Expand Up @@ -147,7 +147,7 @@ export class WasabiS3Provider extends Provider<WasabiS3Provider> {
...this.defaultConfig
};

if (this._detailedloggingEnabled)
if (this._detailedLoggingEnabled)
console.log(`setWasabiConfiguration this.config value: ${JSON.stringify(this.config)}`);

try {
Expand All @@ -157,46 +157,46 @@ export class WasabiS3Provider extends Provider<WasabiS3Provider> {
const settings = request['tenantSettings'];

if (settings) {
if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log(`setWasabiConfiguration Tenant Settings Value: ${JSON.stringify(settings)}`);
}

if (trimAndGetValue(settings.wasabi_aws_access_key_id)) {
this.config.wasabi_aws_access_key_id = trimAndGetValue(settings.wasabi_aws_access_key_id);

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log(`setWasabiConfiguration this.config.wasabi_aws_access_key_id value: ${this.config.wasabi_aws_access_key_id}`);
}
}

if (trimAndGetValue(settings.wasabi_aws_secret_access_key)) {
this.config.wasabi_aws_secret_access_key = trimAndGetValue(settings.wasabi_aws_secret_access_key);

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log(`setWasabiConfiguration this.config.wasabi_aws_secret_access_key value: ${this.config.wasabi_aws_secret_access_key}`);
}
}

if (trimAndGetValue(settings.wasabi_aws_service_url)) {
this.config.wasabi_aws_service_url = addHttpsPrefix(trimAndGetValue(settings.wasabi_aws_service_url));

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log('setWasabiConfiguration this.config.wasabi_aws_service_url value: ', this.config.wasabi_aws_service_url);
}
}

if (trimAndGetValue(settings.wasabi_aws_default_region)) {
this.config.wasabi_aws_default_region = trimAndGetValue(settings.wasabi_aws_default_region);

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log('setWasabiConfiguration this.config.wasabi_aws_default_region value: ', this.config.wasabi_aws_default_region);
}
}

if (trimAndGetValue(settings.wasabi_aws_bucket)) {
this.config.wasabi_aws_bucket = trimAndGetValue(settings.wasabi_aws_bucket);

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log('setWasabiConfiguration this.config.wasabi_aws_bucket value: ', this.config.wasabi_aws_bucket);
}
}
Expand All @@ -205,7 +205,7 @@ export class WasabiS3Provider extends Provider<WasabiS3Provider> {
const forcePathStyle = trimAndGetValue(settings.wasabi_aws_force_path_style);
this.config.wasabi_aws_force_path_style = forcePathStyle === 'true' || forcePathStyle === '1';

if (this._detailedloggingEnabled) {
if (this._detailedLoggingEnabled) {
console.log('setWasabiConfiguration this.config.wasabi_aws_force_path_style value: ', this.config.wasabi_aws_force_path_style);
}
}
Expand Down

0 comments on commit 9fb4fb6

Please sign in to comment.