Skip to content

Commit 85e81a8

Browse files
authored
docs: update directory styling
Removed headings from `DIRECTORY.md` generation.
1 parent 676000e commit 85e81a8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/UpdateDirectory.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@ import { globby } from 'globby'
55
const URL_BASE = 'https://github.com/TheAlgorithms/Javascript/blob/master'
66

77
function pathPrefix (i) {
8-
if (i) {
9-
const res = ' '.repeat(i)
10-
return res + '*'
11-
} else {
12-
return '\n##'
13-
}
8+
const res = ' '.repeat(i)
9+
return res + '*'
1410
}
1511

1612
function printPath (oldPath, newPath, output) {

0 commit comments

Comments
 (0)