mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup reexports
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user