fix(misc): fix workspace generators written using angular devkit
This commit is contained in:
parent
e3fdd7d24c
commit
b405b07361
@ -20,7 +20,7 @@ import {
|
|||||||
} from '@angular-devkit/schematics/tools';
|
} from '@angular-devkit/schematics/tools';
|
||||||
import { execSync } from 'child_process';
|
import { execSync } from 'child_process';
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import { readFileSync, writeFileSync } from 'fs';
|
import { writeFileSync } from 'fs';
|
||||||
import { copySync, removeSync } from 'fs-extra';
|
import { copySync, removeSync } from 'fs-extra';
|
||||||
import * as inquirer from 'inquirer';
|
import * as inquirer from 'inquirer';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
@ -346,7 +346,7 @@ async function executeAngularDevkitSchematic(
|
|||||||
try {
|
try {
|
||||||
await workflow
|
await workflow
|
||||||
.execute({
|
.execute({
|
||||||
collection: path.join(outDir, 'workspace-schematics.json'),
|
collection: path.join(outDir, 'workspace-generators.json'),
|
||||||
schematic: schematicName,
|
schematic: schematicName,
|
||||||
options: options,
|
options: options,
|
||||||
logger: logger,
|
logger: logger,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user