From a7fdf771494b13cdf71180cccb3bf56d65aa44c9 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Sat, 20 Dec 2025 23:06:38 -0500 Subject: [PATCH] Update samy.ps1 --- samy.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/samy.ps1 b/samy.ps1 index 89907d6..da1e0e7 100644 --- a/samy.ps1 +++ b/samy.ps1 @@ -718,6 +718,12 @@ function Get-SamyTasks { [string]$tooltipRaw } + # DEBUG: inspect label type + $lbl = $t.Label + if ($lbl -is [System.Collections.IEnumerable] -and -not ($lbl -is [string])) { + Write-LogHybrid "LABEL IS ARRAY?! Id=$($t.Id) Type=$($lbl.GetType().FullName) Count=$(@($lbl).Count)" Warning UI -LogToEvent + } + # Fallback: tooltip defaults to label if ([string]::IsNullOrWhiteSpace($tooltip)) { $tooltip = [string]$t.Label