Skip to content

Commit

Permalink
don't show message for sqlcmd
Browse files Browse the repository at this point in the history
  • Loading branch information
abist committed Feb 27, 2020
1 parent f2a4e4c commit 84a152d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/statusView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ export default class StatusView implements vscode.Disposable {

public showRowCount(fileUri: string, message?: string): void {
let bar = this.getStatusBar(fileUri);
if (message) {
if (message && message.includes('row')) {
// Remove parentheses from start and end
bar.rowCount.text = message.slice(1, -1);
bar.rowCount.text = message.replace('(', '').replace(')', '');
}
this.showStatusBarItem(fileUri, bar.rowCount);
}
Expand Down

0 comments on commit 84a152d

Please sign in to comment.