chore: cleanup reexports

This commit is contained in:
Nathan Walker
2020-07-05 14:53:34 -07:00
parent 1525c89733
commit 8f2900ad0b
306 changed files with 1197 additions and 1534 deletions

View File

@@ -41,7 +41,7 @@ readdirp(inputFolder, {
} else if (shouldReplace) {
console.log("[Cleared]", fullPath);
try {
fs.writeFileSync(fullPath, newContent, "utf8");
fs.writeFileSync(fullPath, newContent || '', "utf8");
} catch (error) {
console.log("ERROR writing file: " + fullPath, error);
process.exit(1);