mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-08 01:28:26 -05:00
remove some vscode differences (#12146)
This commit is contained in:
@@ -127,13 +127,11 @@ export class MainThreadLanguageFeatures implements MainThreadLanguageFeaturesSha
|
||||
}
|
||||
|
||||
private static _reviveCodeActionDto(data: ReadonlyArray<ICodeActionDto>): modes.CodeAction[] {
|
||||
let dataCast = data as unknown; // {{ SQL CARBON EDIT }}
|
||||
let returnval = dataCast as modes.CodeAction[]; // {{ SQL CARBON EDIT }}
|
||||
if (returnval) {
|
||||
if (data) {
|
||||
data.forEach(code => reviveWorkspaceEditDto(code.edit));
|
||||
}
|
||||
|
||||
return <modes.CodeAction[]>returnval; // {{ SQL CARBON EDIT }}
|
||||
return <modes.CodeAction[]><unknown>data; // {{SQL CARBON EDIT}} strict-null-check
|
||||
}
|
||||
|
||||
private static _reviveLinkDTO(data: ILinkDto): modes.ILink {
|
||||
|
||||
@@ -1083,7 +1083,7 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN
|
||||
const provider = this._notebookContentProviders.get(viewType);
|
||||
const revivedUri = URI.revive(uri);
|
||||
if (!provider) {
|
||||
return undefined; // {{SQL CARBON EDIT}}
|
||||
return undefined; // {{SQL CARBON EDIT}} strict-null-checks
|
||||
}
|
||||
|
||||
const storageRoot = this._extensionStoragePaths.workspaceValue(provider.extension) ?? this._extensionStoragePaths.globalValue(provider.extension);
|
||||
|
||||
Reference in New Issue
Block a user