packages/cli/src/components/update-warning-table/table.ts
Function printUpdateWarningTable
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const printUpdateWarningTable = async (
params: UpdateWarningTableParams,
) => {
const data = params?.data;
const tableHead = Object.keys(data?.[0] || {});
Function getColorsByVersionDiffrence
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getColorsByVersionDiffrence = (
installedVersion: ReturnType<typeof parseVersions>,
nextVersion: ReturnType<typeof parseVersions>,
) => {
const isMajorDiffrence =