Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
taozhou-glean committed Nov 2, 2023
1 parent 8981577 commit c6f0be4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/lib/core-server/src/utils/warnOnIncompatibleAddons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import dedent from 'ts-dedent';
import { getIncompatibleAddons } from '../../../cli/src/automigrate/helpers/getIncompatibleAddons';

export const warnOnIncompatibleAddons = async (config: StorybookConfig) => {
if (config.features.warnOnIncompatibleAddons === false) {
return
if (config.features?.warnOnIncompatibleAddons === false) {
return;
}

const incompatibleAddons = await getIncompatibleAddons(config);
Expand Down

0 comments on commit c6f0be4

Please sign in to comment.