Skip to content

Commit

Permalink
Replace != with !==
Browse files Browse the repository at this point in the history
  • Loading branch information
SleepyLeslie committed May 23, 2024
1 parent 6995a4a commit 3d5b95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/lib/MinIOExternalStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class MinIOExternalStorage implements ExternalStorage {

public async hasVersioning(): Promise<Boolean> {
const versioning = await this._s3.getBucketVersioning(this.bucket);
return versioning != "" && versioning && versioning.Status === 'Enabled';
return versioning !== "" && versioning && versioning.Status === 'Enabled';
}

public async versions(key: string, options?: { includeDeleteMarkers?: boolean }) {
Expand Down

0 comments on commit 3d5b95b

Please sign in to comment.