1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 14:26:04 +02:00

Fix #717. Update index.json format

This commit is contained in:
Igor Shubovych 2016-01-24 10:54:27 +02:00
parent a72d5a28fc
commit 15adee9228

View file

@ -37,7 +37,10 @@ function buildPagesIndex(shortIndex) {
}
function saveIndex(index) {
console.log(JSON.stringify(index));
var indexFile = {
commands: index
};
console.log(JSON.stringify(indexFile));
}
glob("pages/**/*.md", function (er, files) {