From 837410a37ecbef73658e1ec83eaaf9bdb8604e44 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Tue, 16 Jan 2018 16:08:18 +0200 Subject: [PATCH] Fixed archive builder --- scripts/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index 169103309..eadf1c07b 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -44,8 +44,8 @@ These snippets, while useful and interesting, didn\'t quite make it into the rep ## Table of Contents ` - for(const snippet of Object.entries(snippets)) - output += `* [\`${snippet[0]}\`](#${snippet[0].toLowerCase()})\n`; + for(const snippet of Object.entries(snippets).filter(s[0] !=== 'README.md')) + output += `* [\`${snippet[0].slice(0,-3)}\`](#${snippet[0].toLowerCase().slice(0,-3)})\n`; output += '\n---\n'; for(const snippet of Object.entries(snippets)){ let data = snippet[1];