Skip to content

Commit 677aa4c

Browse files
sudo-teeCopilot
andcommitted
chore(topbar): remove uneeded empty check
Co-authored-by: Copilot <[email protected]>
1 parent 5b6d46d commit 677aa4c

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)