Skip to content

Commit

Permalink
fix codecs
Browse files Browse the repository at this point in the history
  • Loading branch information
abrantesarthur committed Jan 13, 2025
1 parent 2c12a0e commit 24841f1
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 183 deletions.
5 changes: 4 additions & 1 deletion src/cli-pull-ot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ async function main(): Promise<void> {
// fetch the list of all assessments in the OneTrust organization
const assessments = await getListOfOneTrustAssessments({ oneTrust });

// TODO: undo
const newAssessments = assessments.slice(3);

// fetch details about one assessment at a time and sync to disk right away to avoid running out of memory
await mapSeries(assessments, async (assessment, index) => {
await mapSeries(newAssessments, async (assessment, index) => {
logger.info(
`Fetching details about assessment ${index + 1} of ${
assessments.length
Expand Down
Loading

0 comments on commit 24841f1

Please sign in to comment.