Fixing some cs completer subcommands failing
The subcommand would execute correctly, but since there would be no return statement, it would hit the bottom of the function and raise an error.
This commit is contained in:
parent
3795f4f11c
commit
63534e1a6f
@ -88,13 +88,13 @@ class CsharpCompleter( Completer ):
|
||||
|
||||
command = arguments[ 0 ]
|
||||
if command == 'StartServer':
|
||||
self._StartServer( request_data )
|
||||
return self._StartServer( request_data )
|
||||
elif command == 'StopServer':
|
||||
self._StopServer()
|
||||
return self._StopServer()
|
||||
elif command == 'RestartServer':
|
||||
if self._ServerIsRunning():
|
||||
self._StopServer()
|
||||
self._StartServer( request_data )
|
||||
return self._StartServer( request_data )
|
||||
elif command == 'ServerRunning':
|
||||
return self._ServerIsRunning()
|
||||
elif command in [ 'GoToDefinition',
|
||||
|
Loading…
Reference in New Issue
Block a user