Skip to content

Commit 130e363

Browse files
rosalddead-horse
authored andcommitted
docs: use 'fs-extra' instead of 'fs-promise' (#1309)
1 parent 2f2078b commit 130e363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ app.use(async function (ctx, next) {
196196

197197

198198
```js
199-
const fs = require('fs-promise');
199+
const fs = require('mz/fs');
200200

201201
app.use(async function (ctx, next) {
202202
const paths = await fs.readdir('docs');

0 commit comments

Comments
 (0)