mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
fix off by one in query messages (#2446)
This commit is contained in:
@@ -274,7 +274,8 @@ export default class QueryRunner {
|
|||||||
this.batchSets[batch.id] = batch;
|
this.batchSets[batch.id] = batch;
|
||||||
|
|
||||||
let message = {
|
let message = {
|
||||||
message: nls.localize('query.message.startQuery', 'Started executing query at Line {0}', batch.selection.startLine),
|
// account for index by 1
|
||||||
|
message: nls.localize('query.message.startQuery', 'Started executing query at Line {0}', batch.selection.startLine + 1),
|
||||||
time: new Date(batch.executionStart).toLocaleTimeString(),
|
time: new Date(batch.executionStart).toLocaleTimeString(),
|
||||||
selection: batch.selection,
|
selection: batch.selection,
|
||||||
isError: false
|
isError: false
|
||||||
|
|||||||
Reference in New Issue
Block a user