From 316a009f6b9a1e20a813f092375ec314b5145979 Mon Sep 17 00:00:00 2001 From: killa Date: Sat, 23 Mar 2024 00:29:03 +0800 Subject: [PATCH] ci: fix await fs.stat (#258) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ##### Checklist - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows commit guidelines ##### Affected core subsystem(s) ##### Description of change --- README.md | 2 +- test/lib/cmd/dal.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5a24c68..325defd 100644 --- a/README.md +++ b/README.md @@ -342,7 +342,7 @@ Generate code for @eggjs/tegg-dal-plugin egg-bin dal gen ``` -dal document please read [tegg doc](https://github.com/eggjs/tegg/tree/master/plugin/dal). +Dal document please read [tegg doc](https://github.com/eggjs/tegg/tree/master/plugin/dal). ## License diff --git a/test/lib/cmd/dal.test.js b/test/lib/cmd/dal.test.js index 1a33606..0501a70 100644 --- a/test/lib/cmd/dal.test.js +++ b/test/lib/cmd/dal.test.js @@ -35,7 +35,7 @@ describe('test/lib/cmd/dal.test.js', () => { 'app/modules/dal/dal/structure/Foo.json', 'app/modules/dal/dal/structure/Foo.sql', ]) { - assert.ok(fs.stat(path.join(cwd, file))); + assert.ok(await fs.stat(path.join(cwd, file))); } }); });