Skip to content

Send config file diagnonstics event even when no errors were found #11285

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

Merged
merged 5 commits into from
Oct 10, 2016

Conversation

zhengbli
Copy link
Contributor

Fixes #10473

@vladima
Copy link
Contributor

vladima commented Sep 30, 2016

can you add tests?

const eventHandler: ProjectServiceEventHandler = canUseEvents
? event => this.handleEvent(event)
this.eventHander = canUseEvents
? eventHandler
Copy link
Contributor

Choose a reason for hiding this comment

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

nit.

this.eventHandler = canUseEvent 
    ? eventHandler || (event => this.defaultEventHandler(event))
    : undefined

@zhengbli
Copy link
Contributor Author

zhengbli commented Oct 5, 2016

@vladima updated. Other comments?

@zhengbli zhengbli merged commit 3b0515f into microsoft:master Oct 10, 2016
@zhengbli zhengbli deleted the 10473 branch October 10, 2016 23:38
@mhegazy
Copy link
Contributor

mhegazy commented Oct 10, 2016

@zhengbli can you port this to release-2.0.5 as well.

zhengbli added a commit that referenced this pull request Oct 12, 2016
@zhengbli
Copy link
Contributor Author

@mhegazy Done

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants