mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
fixed the issue with opening none SQL editor for predict script (#10693)
This commit is contained in:
@@ -83,7 +83,7 @@ export class PredictService {
|
|||||||
language: 'sql',
|
language: 'sql',
|
||||||
content: query
|
content: query
|
||||||
});
|
});
|
||||||
await this._apiWrapper.showTextDocument(document.uri);
|
await this._apiWrapper.executeCommand('vscode.open', document.uri);
|
||||||
await this._apiWrapper.connect(document.uri.toString(), connection.connectionId);
|
await this._apiWrapper.connect(document.uri.toString(), connection.connectionId);
|
||||||
this._apiWrapper.runQuery(document.uri.toString(), undefined, false);
|
this._apiWrapper.runQuery(document.uri.toString(), undefined, false);
|
||||||
return query;
|
return query;
|
||||||
|
|||||||
Reference in New Issue
Block a user