fix off by one in query messages (#2446)

This commit is contained in:
Anthony Dresser
2018-09-06 17:00:41 -07:00
committed by GitHub
parent 81ff542d0b
commit c01da0f263

View File

@@ -274,7 +274,8 @@ export default class QueryRunner {
this.batchSets[batch.id] = batch;
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(),
selection: batch.selection,
isError: false