We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb6fbfd commit 57f15d5Copy full SHA for 57f15d5
common/view/finder.view.js
@@ -30,12 +30,14 @@ async function studyMode(baseDir = process.cwd()) {
30
if (createMode === 'single') {
31
const { planSubGroups } = await getPlanQuestionList(planSlug)
32
const planList = planSubGroups.reduce((acc, cur) => {
33
- acc.push(...cur.questions.map((res) => {
34
- return {
35
- cnTitle: res.translatedTitle,
36
- enTitle: res.titleSlug
37
- }
38
- }))
+ acc.push(
+ ...cur.questions.map((res) => {
+ return {
+ cnTitle: res.translatedTitle,
+ enTitle: res.titleSlug
+ }
39
+ })
40
+ )
41
return acc
42
}, [])
43
const singleMode = {
0 commit comments