diff --git a/lib/modules/scaffolding-react/index.js b/lib/modules/scaffolding-react/index.js index 3457cfc4d..29fea6b97 100644 --- a/lib/modules/scaffolding-react/index.js +++ b/lib/modules/scaffolding-react/index.js @@ -52,7 +52,7 @@ class ScaffoldingReact { const filename = contract.className.toLowerCase() + '.' + extension; const filePath = './app/' + filename; if (fs.existsSync(filePath)){ - throw new Error("file '" + filePath + "' already exists"); + // throw new Error("file '" + filePath + "' already exists"); } const templatePath = fs.embarkPath('lib/modules/scaffolding-react/templates/' + templateFilename); diff --git a/lib/modules/scaffolding-react/templates/index.tpl b/lib/modules/scaffolding-react/templates/index.tpl deleted file mode 100644 index 3fffecef3..000000000 --- a/lib/modules/scaffolding-react/templates/index.tpl +++ /dev/null @@ -1,12 +0,0 @@ - - - - {{title}} - - - - - - - - \ No newline at end of file