Skip to content

Commit b7b87b9

Browse files
sudo-teeCopilot
andauthored
chore(topbar): remove uneeded empty check
Co-authored-by: Copilot <[email protected]>
1 parent 64fcb5d commit b7b87b9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lua/opencode/ui/topbar.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ local function format_token_info()
2929
end
3030

3131
local result = table.concat(parts, ' | ')
32-
if not result or type(result) ~= 'string' then
33-
result = ''
34-
end
3532
result = result:gsub('%%', '%%%%')
3633
return result
3734
end

0 commit comments

Comments
 (0)