File tree Expand file tree Collapse file tree 2 files changed +8
-15
lines changed
tools/challenge-helper-scripts Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,6 @@ const certMap = [
333
333
}
334
334
]
335
335
} ,
336
-
337
336
{
338
337
id : 'aaaaaaaaaaaaaaaaaaaaaaaa' ,
339
338
title : 'Responsive Web Design QA' ,
@@ -343,12 +342,13 @@ const certMap = [
343
342
{
344
343
id : 'bbbbbbbbbbbbbbbbbbbbbbbb' ,
345
344
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
+ ) ,
347
348
certSlug : SuperBlocks . RespWebDesignQA
348
349
}
349
350
]
350
351
} ,
351
-
352
352
{
353
353
id : '561abd10cb81ac38a17513bc' ,
354
354
title : 'JavaScript Algorithms and Data Structures' ,
Original file line number Diff line number Diff line change @@ -9,15 +9,10 @@ const gray = require('gray-matter');
9
9
* node tools/challenge-helper-scripts/rename-challenge-files.js
10
10
*/
11
11
( async ( ) => {
12
-
13
- function handleRename ( blockName ) {
14
-
12
+ async function handleRename ( blockName ) {
15
13
const asyncExec = promisify ( exec ) ;
16
14
const blocks = await readdir (
17
- join (
18
- process . cwd ( ) ,
19
- `curriculum/challenges/english/${ blockName } `
20
- )
15
+ join ( process . cwd ( ) , `curriculum/challenges/english/${ blockName } ` )
21
16
) ;
22
17
for ( const block of blocks ) {
23
18
const files = await readdir (
@@ -41,9 +36,7 @@ const gray = require('gray-matter');
41
36
}
42
37
}
43
38
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
+ ) ;
49
42
} ) ( ) ;
You can’t perform that action at this time.
0 commit comments