Skip to content

Commit 71cf548

Browse files
committed
fix index ts
1 parent 169ae4e commit 71cf548

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ng-generate/table/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,12 @@ export function generateTable(options: Schema): Rule {
6666

6767
const defaultOptions = {
6868
skipImport: false,
69-
configFile: options.configFile !== WIZARD_CONFIG_FILE ? WIZARD_CONFIG_FILE : options.configFile,
7069
};
7170

71+
if (options.configFile !== WIZARD_CONFIG_FILE) {
72+
options.configFile = WIZARD_CONFIG_FILE;
73+
}
74+
7275
options = {
7376
...defaultOptions,
7477
...options,

0 commit comments

Comments
 (0)