diff --git a/.gitignore b/.gitignore index c707164d..e33a5f4e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ node_modules data locales images/latex/source -component/section/**/index.js -!component/section/index.js +components/sections/**/index.js +!components/sections/index.js .buildmark npm-debug.log diff --git a/tools/form-section-index-files.js b/tools/form-section-index-files.js index 19991257..77538228 100644 --- a/tools/form-section-index-files.js +++ b/tools/form-section-index-files.js @@ -14,7 +14,6 @@ var jsxshim = require("./lib/jsx-shim"); const BASEDIR = path.join(__dirname, ".."); var index = require(path.join(BASEDIR, "components/sections")); -console.log(index); var handlers = []; Object.keys(index).forEach( section => { @@ -42,6 +41,5 @@ Object.keys(index).forEach( section => { `module.exports = generateBase("${section}");` ].filter(l => !!l).join('\n'); - console.log(`writing ${section}`); fs.writeFileSync(path.join(BASEDIR,`components/sections/${section}/index.js`), indexCode); });