diff --git a/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.ts b/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.ts index 48ac35815d4c9..9d6ae530321f8 100644 --- a/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.ts +++ b/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.ts @@ -161,7 +161,7 @@ export class DiffEditorItemTemplate extends Disposable implements IPooledObject< this._contextKeyService = this._register(_parentContextKeyService.createScoped(this._elements.actions)); const instantiationService = this._register(this._instantiationService.createChild(new ServiceCollection([IContextKeyService, this._contextKeyService]))); this._register(instantiationService.createInstance(MenuWorkbenchToolBar, this._elements.actions, MenuId.MultiDiffEditorFileToolbar, { - actionRunner: this._register(new ActionRunnerWithContext(() => (this._viewModel.get()?.modifiedUri))), + actionRunner: this._register(new ActionRunnerWithContext(() => (this._viewModel.get()?.modifiedUri?.with({ scheme: 'file' })))), menuOptions: { shouldForwardArgs: true, },