Skip to content

Commit

Permalink
#37: improve code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Nov 7, 2024
1 parent afba6eb commit dc9baf5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion @types/lib/metadataTypes/Automation.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion lib/metadataTypes/Automation.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,9 @@ class Automation extends MetadataType {
key,
}));

// get notifications for each automation
const rateLimit = pLimit(5);

// get wait activities for automations using it
await Promise.all(
waitLegacyMap.map((automationLegacy) =>
// notifications
Expand Down Expand Up @@ -237,6 +238,8 @@ class Automation extends MetadataType {
})
)
);

// get notifications for each automation
let found = 0;
let skipped = 0;
const notificationPromiseMap = await Promise.all(
Expand Down

0 comments on commit dc9baf5

Please sign in to comment.