File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -351,23 +351,25 @@ def createSecurityContent(
351351 )
352352 elif "Extra inputs" in error_msg :
353353 print (
354- f" { Colors .BLUE } ❌ Unexpected Field: { err .get ('loc' , ['' ])[0 ]} { Colors .END } "
354+ f" { Colors .BLUE } { Colors . ERROR } Unexpected Field: { err .get ('loc' , ['' ])[0 ]} { Colors .END } "
355355 )
356356 elif "Failed to find" in error_msg :
357357 print (
358358 f" { Colors .RED } 🔍 Missing Reference: { error_msg } { Colors .END } "
359359 )
360360 else :
361- print (f" { Colors .RED } ❌ { error_msg } { Colors .END } " )
361+ print (
362+ f" { Colors .RED } { Colors .ERROR } { error_msg } { Colors .END } "
363+ )
362364 else :
363- print (f" { Colors .RED } ❌ { str (error )} { Colors .END } " )
365+ print (f" { Colors .RED } { Colors . ERROR } { str (error )} { Colors .END } " )
364366 print ("" )
365367
366368 # Clean footer with next steps
367369 max_width = max (60 , max (len (str (e [0 ])) + 15 for e in validation_errors ))
368370 print (f"{ Colors .BOLD } { Colors .CYAN } ╔{ '═' * max_width } ╗{ Colors .END } " )
369371 print (
370- f"{ Colors .BOLD } { Colors .CYAN } ║{ Colors .BLUE } { '🎯 Next Steps' :^{max_width - 1 }} { Colors .CYAN } ║{ Colors .END } "
372+ f"{ Colors .BOLD } { Colors .CYAN } ║{ Colors .BLUE } { Colors . ARROW + ' Next Steps' :^{max_width - 1 }} { Colors .CYAN } ║{ Colors .END } "
371373 )
372374 print (f"{ Colors .BOLD } { Colors .CYAN } ╚{ '═' * max_width } ╝{ Colors .END } \n " )
373375
You can’t perform that action at this time.
0 commit comments