lib/cli/src/add.ts
Function postinstallAddon
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const postinstallAddon = async (addonName: string, isOfficialAddon: boolean) => {
let skipMsg = null;
if (!isOfficialAddon) {
skipMsg = 'unofficial addon';
} else if (!fs.existsSync('.storybook')) {