Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'terminal' extension typos #6692

Merged
merged 1 commit into from
Dec 5, 2019
Merged

Fix 'terminal' extension typos #6692

merged 1 commit into from
Dec 5, 2019

Conversation

vince-fugnitto
Copy link
Member

What it does

  • fixes @theia/terminal extension typos.
  • renames TerminalCopyOnSelectionHander to TerminalCopyOnSelectionHandler.
  • fixes formatting issues in terminal-copy-on-selection-handler.ts.

How to test

  • verify that CI successfully passes (build & test for terminal extension)

Review checklist

Reminder for reviewers

Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com

@vince-fugnitto vince-fugnitto added the terminal issues related to the terminal label Dec 4, 2019
@vince-fugnitto vince-fugnitto self-assigned this Dec 4, 2019
- fixes `@theia/terminal` extension typos.
- renames `TerminalCopyOnSelectionHander` to `TerminalCopyOnSelectionHandler`.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
Copy link
Contributor

@kittaakos kittaakos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your changes look good to me, @vince-fugnitto! Thanks for taking care of it.

if (state === 'granted') {
return true;
}
} catch (e) {}
} catch (e) { }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[minor]: you could omit e.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I tried your suggestion and it looks like it complains:

Screen Shot 2019-12-05 at 8 06 15 AM

I'll keep it as is for the moment.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries, for the next time; the syntax is try { } catch { } finally { } or try { } catch (e) { } finally { }

@vince-fugnitto vince-fugnitto merged commit eb74d4a into master Dec 5, 2019
@vince-fugnitto vince-fugnitto deleted the vf/terminal-typos branch December 5, 2019 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
terminal issues related to the terminal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants