mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix(cli): force editor and rules as required in ultracite addon (#532)
This commit is contained in:
@@ -69,7 +69,7 @@ export async function setupUltracite(config: ProjectConfig, hasHusky: boolean) {
|
|||||||
label: editor.label,
|
label: editor.label,
|
||||||
hint: editor.hint,
|
hint: editor.hint,
|
||||||
})),
|
})),
|
||||||
required: false,
|
required: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isCancel(editors)) return exitCancelled("Operation cancelled");
|
if (isCancel(editors)) return exitCancelled("Operation cancelled");
|
||||||
@@ -81,7 +81,7 @@ export async function setupUltracite(config: ProjectConfig, hasHusky: boolean) {
|
|||||||
label: rule.label,
|
label: rule.label,
|
||||||
hint: rule.hint,
|
hint: rule.hint,
|
||||||
})),
|
})),
|
||||||
required: false,
|
required: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isCancel(rules)) return exitCancelled("Operation cancelled");
|
if (isCancel(rules)) return exitCancelled("Operation cancelled");
|
||||||
|
|||||||
Reference in New Issue
Block a user