Skip to content

Commit

Permalink
fix(storybook): dont fail if targets dont exist (#18745)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini authored Aug 21, 2023
1 parent 078cf9a commit 0448317
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export function updateLintConfig(tree: Tree, schema: StorybookConfigureSchema) {
const { name: projectName } = schema;

const { targets, root } = readProjectConfiguration(tree, projectName);
const tslintTargets = Object.values(targets).filter(
const tslintTargets = Object.values(targets ?? {}).filter(
(target) => target.executor === '@angular-devkit/build-angular:tslint'
);

Expand Down

1 comment on commit 0448317

@vercel
Copy link

@vercel vercel bot commented on 0448317 Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx.dev
nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx-dev-nrwl.vercel.app

Please sign in to comment.