ソースを参照

Bug fix: neovan components were not rendering properly.

Lee Morgan 5 日 前
コミット
a15d926a1c
1 ファイル変更2 行追加2 行削除
  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 {