mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-08-09 17:41:14 +10:00
Clean up analyzer warnings across app search and ISO workflows (#4794)
* Clean up analyzer warnings * Align analyzer warning cleanup policy * Run PSScriptAnalyzer directly in unittests workflow * Bind lazy-rendered buttons to click handlers * Remove WinUtil performance tracing * Fix Win11 ISO creator temp directory reuse
This commit is contained in:
@@ -114,6 +114,7 @@ function Find-TweaksByNameOrDescription {
|
||||
}
|
||||
catch {
|
||||
# Silent catch - UI element may be disposed
|
||||
$null = $_
|
||||
}
|
||||
|
||||
return
|
||||
@@ -303,5 +304,6 @@ function Find-TweaksByNameOrDescription {
|
||||
catch {
|
||||
# Silent catch - UI elements may be disposed or in unexpected state
|
||||
# Do not log to terminal as this function is called on every keystroke
|
||||
$null = $_
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user