refactor: convert is-audited to TypeScript (#51232)

This commit is contained in:
Oliver Eyton-Williams
2023-08-14 15:50:22 +05:30
committed by GitHub
parent 0f9066e504
commit e99154665e
11 changed files with 61 additions and 56 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ function createSuperOrder(superBlocks) {
}
const flatSuperBlockMap = createFlatSuperBlockMap({
showNewCurriculum: process.env.SHOW_NEW_CURRICULUM,
showUpcomingChanges: process.env.SHOW_UPCOMING_CHANGES
showNewCurriculum: process.env.SHOW_NEW_CURRICULUM === 'true',
showUpcomingChanges: process.env.SHOW_UPCOMING_CHANGES === 'true'
});
const superOrder = createSuperOrder(flatSuperBlockMap);