Skip to content

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

Merged
zhengbli merged 5 commits into
microsoft:masterfrom
zhengbli:10473
Oct 10, 2016
Merged

Send config file diagnonstics event even when no errors were found#11285
zhengbli merged 5 commits into
microsoft:masterfrom
zhengbli:10473

Conversation

@zhengbli
Copy link
Copy Markdown

Fixes #10473

@vladima
Copy link
Copy Markdown
Contributor

vladima commented Sep 30, 2016

can you add tests?

Comment thread src/server/session.ts Outdated
const eventHandler: ProjectServiceEventHandler = canUseEvents
? event => this.handleEvent(event)
this.eventHander = canUseEvents
? eventHandler
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

mhegazy commented Oct 10, 2016

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

zhengbli pushed a commit that referenced this pull request Oct 12, 2016
@zhengbli
Copy link
Copy Markdown
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