Commit feb0d90
committed
fix: use expected path when generating a domain
The `--directory` parameter is used to determine the path for the domain library, and was introduced in #35. This commit corrects its usage so that the `--directory` appears before the domain's name in the path instead of appearing after.
For example, this command:
ng g @angular-architects/ddd:domain user --directory=management
Will now generate the path `libs/management/user/domain` instead of `libs/user/management/domain`.
Fixes #79
Fixes #121 parent f941452 commit feb0d90
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments