node-webot / co-wechat-api

Wechat API. Support Async Functions
Other
724 stars 170 forks source link

change co-fs to fs #46

Closed dreamllq closed 7 years ago

dreamllq commented 7 years ago

because co-fs not support async await, all the file controller is not work. so now use var fs = require('fs'); var stat = fs.statSync(filepath); replace var fs = require('co-fs'); var stat = await fs.stat(filepath);

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 28.863% when pulling 11d4778e57c27028c258d1733923be1717e6e20c on dreamllq:master into 89cf6aed3e7858e642fcbf1197218f598bd1ccf7 on node-webot:master.

JacksonTian commented 7 years ago

通过 mz/fs 而不是 fs.*Sync 方法。新版本已经发布 。

dreamllq commented 7 years ago

谢谢