fix(nest): fixing resource generator options issue (#8246)

* fix(nest): fix(nest): fixing resource generator options issue

The normalize options function was excluding some important properties such as type causing
the
generated files not to match the output if it was run using the Nest schematic directly
ISSUES
CLOSED: #8243

ISSUES CLOSED: #8243

* fix(nest): fixing nest generator options issue
This commit is contained in:
Ashley Hunter 2021-12-21 19:53:34 +00:00 committed by GitHub
parent c29eaa8ac8
commit b10b505921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ export function normalizeOptions(
const { sourceRoot } = readProjectConfiguration(tree, options.project);
const normalizedOptions: NormalizedOptions = {
...options,
flat: options.flat,
name: names(options.name).fileName,
path: options.directory,