ソースを参照

use the sync function instead of the async function

Dustin Utecht 6 年 前
コミット
a231b2beb0
1 ファイル変更1 行追加2 行削除
  1. 1 2
      tools/check-api.js

+ 1 - 2
tools/check-api.js

@@ -53,8 +53,7 @@ class API {
         console.log(error)
       })
     }
-
-    fs.writeFile(file, outLines.join('## '), () => {})
+    fs.writeFileSync(file, outLines.join('## '), () => {})
   }
 }