letinputEvent=editor.inputinstanceofDiffEditorInput?<DiffEditorInput>editor.input:fileInput;// make sure to still send around the input from the diff editor if given
letinputEvent=inputinstanceofDiffEditorInput?input:fileInput;// make sure to still send around the input from the diff editor if given