Merge pull request #119607 from NotWearingPants/patch-3

Fix a random typo in recent commit
This commit is contained in:
Alexandru Dima 2021-03-23 15:31:21 +01:00 committed by GitHub
commit 11e79c76d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ import { IWebviewService, Webview } from 'vs/workbench/contrib/webview/browser/w
const PRIORITY = 100;
function overrideCommandForWebview(command: MultiCommand | undefined, f: (webview: Webview) => void) {
command?.addImplementation(PRIORITY, 'webiew', accessor => {
command?.addImplementation(PRIORITY, 'webview', accessor => {
const webviewService = accessor.get(IWebviewService);
const webview = webviewService.activeWebview;
if (webview?.isFocused) {