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))); } }); });