Skip to content

Commit

Permalink
undo changes to cli-pull-ot
Browse files Browse the repository at this point in the history
  • Loading branch information
abrantesarthur committed Jan 13, 2025
1 parent 24841f1 commit 8480eaf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/cli-pull-ot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ 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(newAssessments, async (assessment, index) => {
await mapSeries(assessments, async (assessment, index) => {
logger.info(
`Fetching details about assessment ${index + 1} of ${
assessments.length
Expand Down

0 comments on commit 8480eaf

Please sign in to comment.