mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-06-21 19:05:07 -04:00
Move handling generated files to the serialization classes (#8952)
* move handling generated files to the serilization classes * remove unneeded methods * fix compile
This commit is contained in:
@@ -83,7 +83,7 @@ export const Extensions = {
|
||||
|
||||
Registry.add(Extensions.LanguageAssociations, languageAssociationRegistery);
|
||||
|
||||
export function doHandleUpgrade(editor: EditorInput): EditorInput {
|
||||
export function doHandleUpgrade(editor?: EditorInput): EditorInput | undefined {
|
||||
if (editor instanceof UntitledTextEditorInput || editor instanceof FileEditorInput) {
|
||||
const activeWidget = getCodeEditor(editor);
|
||||
const textModel = activeWidget.getModel();
|
||||
|
||||
Reference in New Issue
Block a user