Skip to content

Commit

Permalink
S3UTILS-148: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
williamlardier committed Oct 12, 2023
1 parent 4c1926a commit aa74440
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CountItems/CountManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class CountManager {
}
const id = this.workerList.shift();
return this.workers[id].count(bucketInfo, (err, res) => {
this.log.info(`processing a bucket`, {
this.log.info('processing a bucket', {
method: 'CountManager::_setupQueue',
workInQueue: this.q.length(),
bucketInfo,
Expand Down
1 change: 1 addition & 0 deletions tests/conf/envSetup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const { TextEncoder, TextDecoder } = require('util');

global.TextEncoder = TextEncoder;
global.TextDecoder = TextDecoder;

Expand Down
1 change: 1 addition & 0 deletions utils/S3UtilsMongoClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ class S3UtilsMongoClient extends MongoClientInterface {
}
const bucketName = value.name;
try {
// eslint-disable-next-line no-await-in-loop
const bucketInfo = await new Promise((resolve, reject) => {
this.getBucketAttributes(bucketName, log, (err, info) => {
if (err) {
Expand Down

0 comments on commit aa74440

Please sign in to comment.