Skip to content

Commit

Permalink
docs: use 'fs-extra' instead of 'fs-promise' (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosald authored and dead-horse committed Feb 14, 2019
1 parent 2f2078b commit 130e363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 130e363

Please sign in to comment.