Procházet zdrojové kódy

Bug fix: neovan components were not rendering properly.

Lee Morgan před 5 dny
rodič
revize
a15d926a1c
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      parseComponent.js

+ 2 - 2
parseComponent.js

@@ -30,8 +30,8 @@ const getNeovanData = async (index)=>{
     await fs.mkdir(path.join(parentPath, "tmp/"));
 
     await Promise.all([
-        css === "" ? null : fs.writeFile(cssFile, css),
-        js === "" ? null : fs.writeFile(jsFile, js)
+        fs.writeFile(cssFile, css),
+        fs.writeFile(jsFile, js)
     ]);
 
     return {