Skip to content

Commit bd46454

Browse files
PROD-2456 clean up
1 parent 6ecc2e0 commit bd46454

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

client/src/resources/cert-and-project-map.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ const certMap = [
333333
}
334334
]
335335
},
336-
337336
{
338337
id: 'aaaaaaaaaaaaaaaaaaaaaaaa',
339338
title: 'Responsive Web Design QA',
@@ -343,12 +342,13 @@ const certMap = [
343342
{
344343
id: 'bbbbbbbbbbbbbbbbbbbbbbbb',
345344
title: 'Build a Personal Portfolio Webpage QA',
346-
link: getResponsiveWebDesignPathQA('build-a-personal-portfolio-webpage-qa'),
345+
link: getResponsiveWebDesignPathQA(
346+
'build-a-personal-portfolio-webpage-qa'
347+
),
347348
certSlug: SuperBlocks.RespWebDesignQA
348349
}
349350
]
350351
},
351-
352352
{
353353
id: '561abd10cb81ac38a17513bc',
354354
title: 'JavaScript Algorithms and Data Structures',

tools/challenge-helper-scripts/rename-challenge-files.js

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,10 @@ const gray = require('gray-matter');
99
* node tools/challenge-helper-scripts/rename-challenge-files.js
1010
*/
1111
(async () => {
12-
13-
function handleRename(blockName) {
14-
12+
async function handleRename(blockName) {
1513
const asyncExec = promisify(exec);
1614
const blocks = await readdir(
17-
join(
18-
process.cwd(),
19-
`curriculum/challenges/english/${blockName}`
20-
)
15+
join(process.cwd(), `curriculum/challenges/english/${blockName}`)
2116
);
2217
for (const block of blocks) {
2318
const files = await readdir(
@@ -41,9 +36,7 @@ const gray = require('gray-matter');
4136
}
4237
}
4338

44-
const renames =[
45-
'14-responsive-web-design-22',
46-
'14-responsive-web-design-22-qa',
47-
].forEach(rename => handleRename(rename))
48-
39+
['14-responsive-web-design-22', '14-responsive-web-design-22-qa'].forEach(
40+
rename => handleRename(rename)
41+
);
4942
})();

0 commit comments

Comments
 (0)