"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = focusEditorIfEditorCommand;
const isEditorCommand_1 = require("./isEditorCommand");
async function focusEditorIfEditorCommand(commandName, commandService) {
    if ((0, isEditorCommand_1.default)(commandName)) {
        await commandService.execute('editor.focus');
    }
}
//# sourceMappingURL=focusEditorIfEditorCommand.js.map