docs: use 'fs-extra' instead of 'fs-promise' (#1309)

This commit is contained in:
rosald 2019-02-14 13:17:35 +08:00 committed by Yiyu He
parent 2f2078bf99
commit 130e363856

View file

@ -196,7 +196,7 @@ app.use(async function (ctx, next) {
```js
const fs = require('fs-promise');
const fs = require('mz/fs');
app.use(async function (ctx, next) {
const paths = await fs.readdir('docs');