Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
chore(schematics): Cleanup unused files, and correct an error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
bardosmisi authored and lukasholzer committed Oct 2, 2020
1 parent 44880f5 commit ff9e761
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 70 deletions.
34 changes: 0 additions & 34 deletions libs/examples/src/examples.module.template

This file was deleted.

33 changes: 0 additions & 33 deletions libs/examples/src/index.template

This file was deleted.

4 changes: 1 addition & 3 deletions libs/tools/barista/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ async function createExampleInlineSourcesTransformer(): Promise<
const examplesMetadataDir = './dist';
const examplesMetadataFileName = 'examples-metadata.json';
if (!existsSync(examplesMetadataDir)) {
throw new Error(
`"${examplesMetadataFileName}" not found. Make sure to run "examples-tools" first.`,
);
throw new Error(`"${examplesMetadataFileName}" not found.`);
}
const examplesMetadata = await fs.readFile(
join(examplesMetadataDir, examplesMetadataFileName),
Expand Down

0 comments on commit ff9e761

Please sign in to comment.