Skip to content

Commit f9398f4

Browse files
authored
fix: fork dalgen with baseDir (#262)
<!-- Thank you for your pull request. Please review below requirements. Bug fixes and new features should include tests and possibly benchmarks. Contributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md 感谢您贡献代码。请确认下列 checklist 的完成情况。 Bug 修复和新功能必须包含测试,必要时请附上性能测试。 Contributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md --> ##### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows commit guidelines ##### Affected core subsystem(s) <!-- Provide affected core subsystem(s). --> ##### Description of change <!-- Provide a description of the change below this comment. -->
1 parent b966ff4 commit f9398f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/cmd/dal/gen.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class DalGenCommand extends Command {
4242
const options = {
4343
execArgv: context.execArgv,
4444
env: context.env,
45+
cwd: baseDir,
4546
};
4647

4748
const moduleReferences = ModuleConfigUtil.readModuleReference(baseDir, {});

0 commit comments

Comments
 (0)