mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-07 17:27:57 +02:00
make sure the right files are ignored. and not ignored
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user