mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Change the way we insert Injected Parameter (#13171)
This commit is contained in:
@@ -369,7 +369,7 @@ export class NotebookModel extends Disposable implements INotebookModel {
|
|||||||
*/
|
*/
|
||||||
if (cellModel.isInjectedParameter) {
|
if (cellModel.isInjectedParameter) {
|
||||||
cellModel.source = cellModel.source.slice(1);
|
cellModel.source = cellModel.source.slice(1);
|
||||||
cellModel.source = '# Injected-Parameters\n' + cellModel.source;
|
cellModel.source = ['# Injected-Parameters\n'].concat(cellModel.source);
|
||||||
}
|
}
|
||||||
this.trackMarkdownTelemetry(<nb.ICellContents>c, cellModel);
|
this.trackMarkdownTelemetry(<nb.ICellContents>c, cellModel);
|
||||||
return cellModel;
|
return cellModel;
|
||||||
|
|||||||
Reference in New Issue
Block a user