Reverse if logic in UpdateDiagnosticInterface
This commit is contained in:
parent
3dd24201f3
commit
fbdf7cc85e
@ -312,9 +312,8 @@ class YouCompleteMe( object ):
|
||||
|
||||
|
||||
def UpdateDiagnosticInterface( self ):
|
||||
if ( not self.DiagnosticsForCurrentFileReady() or
|
||||
not self.NativeFiletypeCompletionUsable() ):
|
||||
return
|
||||
if ( self.DiagnosticsForCurrentFileReady() and
|
||||
self.NativeFiletypeCompletionUsable() ):
|
||||
self._diag_interface.UpdateWithNewDiagnostics(
|
||||
self.GetDiagnosticsFromStoredRequest() )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user