Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
isToggled: args => args['theme'] === ITerminal.defaultOptions.theme,
execute: async args => {
execute: async () => {
let { fontSize } = ITerminal.defaultOptions;
if (fontSize < 72) {
try {
await settingRegistry.set(plugin.id, 'fontSize', fontSize + 1);
} catch (err) {
Private.showErrorMessage(err);
}
}
}
});