Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curriculum change: track sequence (round 1) #590

Merged
merged 11 commits into from
Jan 25, 2019
5 changes: 3 additions & 2 deletions bin/print-config-tree
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ printLn('core')
printLn('----')
Object.keys(track).forEach(slug => {
printLn(`├─ ${slug}`)
track[slug].forEach(side => {
printLn(`│ ├─ ${side.slug} (${side.difficulty})`)
track[slug].forEach((side, index, self) => {
junction = index === self.length - 1 ? '└─' : '├─'
printLn(`│ ${junction} ${side.slug} (${side.difficulty})`)
})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

printLn('│')
})
Expand Down