mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add more to strict nulls (#11871)
* add more to strict nulls * maintain error handling properly * fix lint
This commit is contained in:
@@ -377,7 +377,7 @@ export function fillResourceDataTransfers(accessor: ServicesAccessor, resources:
|
||||
// to restore dirty state. Get that from the text model directly
|
||||
let dirtyContent: string | undefined = undefined;
|
||||
if (model?.isDirty()) {
|
||||
dirtyContent = model.textEditorModel.getValue();
|
||||
dirtyContent = model.textEditorModel!.getValue(); // {{SQL CARBON EDIT}} strict-null-checks
|
||||
}
|
||||
|
||||
// Add as dragged editor
|
||||
|
||||
Reference in New Issue
Block a user