Skip to content

Commit

Permalink
Fix code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanIakovlev committed Dec 17, 2024
1 parent e93f5a0 commit 4078515
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ghcrawler/providers/queuing/storageQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class StorageQueue {
// No specific unsubscribe logic for Azure Queue Storage
}

async push(requests, _option) {
async push(requests) {
requests = Array.isArray(requests) ? requests : [requests]
return Promise.all(
requests.map(
Expand Down
2 changes: 1 addition & 1 deletion ghcrawler/providers/storage/storageDocStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class AzureStorageDocStore {
let entryCount = 0
const properties = await this.containerClient.getProperties()
properties.blobCount
for await (const _blob of this.containerClient.listBlobsFlat()) {
for await (const {} of this.containerClient.listBlobsFlat()) {

Check failure on line 107 in ghcrawler/providers/storage/storageDocStore.js

View workflow job for this annotation

GitHub Actions / Run tests

Unexpected empty object pattern
entryCount++
}
memoryCache.put(key, entryCount, 60000)
Expand Down

0 comments on commit 4078515

Please sign in to comment.