lib/cli/src/upgrade.ts
Function checkVersionConsistency
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const checkVersionConsistency = () => {
const lines = spawnSync('npm', ['ls'], { stdio: 'pipe' }).output.toString().split('\n');
const storybookPackages = lines
.map(getStorybookVersion)
.filter(Boolean)