Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: display custom schematics in help #1911

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lib/schematics/custom.collection.ts
Co-authored-by: Micael Levi L. Cavalcante <mllc@icomp.ufam.edu.br>
  • Loading branch information
daniel-samson and micalevisk authored Feb 3, 2023
commit b71bfea1ebcd45e1ddba2d259603da9db29a4a84
1 change: 0 additions & 1 deletion lib/schematics/custom.collection.ts
Original file line number Diff line number Diff line change
@@ -12,7 +12,6 @@ export interface CollectionSchematic {

export class CustomCollection extends AbstractCollection {
public getSchematics(): Schematic[] {
this.collection;
const collectionPackagePath = dirname(require.resolve(this.collection));
const collectionPath = join(collectionPackagePath, 'collection.json');
const collection = JSON.parse(readFileSync(collectionPath).toString());
daniel-samson marked this conversation as resolved.
Show resolved Hide resolved