src/presentation/components/Code/CodeButtons/ScriptErrorDialog.ts
Function createAntivirusErrorDialog
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createAntivirusErrorDialog(
information: ScriptErrorDetails,
diagnostics: ScriptDiagnosticData | undefined,
): ErrorDialogParameters {
const defenderSteps = generateDefenderSteps(information, diagnostics);
Function createGenericErrorDialog
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createGenericErrorDialog(
information: ScriptErrorDetails,
diagnostics: ScriptDiagnosticData | undefined,
): ErrorDialogParameters {
return [