Skip to content

Commit

Permalink
removed status bar comma
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Mar 23, 2024
1 parent 3ce5513 commit afcadda
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/vscode/src/statusbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ export function activateStatusBar(state: ExtensionState) {
const { template, fragment } = options || {}
const { tokensSoFar } = progress || {}
statusBarItem.text = toStringList(
parsing || (computing && !tokensSoFar)
? `$(loading~spin)`
: `$(${ICON_LOGO_NAME})`,
tokensSoFar ? `${tokensSoFar} tokens` : undefined
`${
parsing || (computing && !tokensSoFar)
? `$(loading~spin)`
: `$(${ICON_LOGO_NAME})`
}${tokensSoFar ? ` ${tokensSoFar} tokens` : ""}`
)

const md = new vscode.MarkdownString(
Expand Down

0 comments on commit afcadda

Please sign in to comment.