From 130e363856747b487652f04b5550056d7778e43a Mon Sep 17 00:00:00 2001 From: rosald <35028438+rosald@users.noreply.github.com> Date: Thu, 14 Feb 2019 13:17:35 +0800 Subject: [PATCH] docs: use 'fs-extra' instead of 'fs-promise' (#1309) --- docs/guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide.md b/docs/guide.md index e13dde9..77c0a6f 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -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');