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 ]
|
command = arguments[ 0 ]
|
||||||
if command == 'StartServer':
|
if command == 'StartServer':
|
||||||
self._StartServer( request_data )
|
return self._StartServer( request_data )
|
||||||
elif command == 'StopServer':
|
elif command == 'StopServer':
|
||||||
self._StopServer()
|
return self._StopServer()
|
||||||
elif command == 'RestartServer':
|
elif command == 'RestartServer':
|
||||||
if self._ServerIsRunning():
|
if self._ServerIsRunning():
|
||||||
self._StopServer()
|
self._StopServer()
|
||||||
self._StartServer( request_data )
|
return self._StartServer( request_data )
|
||||||
elif command == 'ServerRunning':
|
elif command == 'ServerRunning':
|
||||||
return self._ServerIsRunning()
|
return self._ServerIsRunning()
|
||||||
elif command in [ 'GoToDefinition',
|
elif command in [ 'GoToDefinition',
|
||||||
|
Loading…
Reference in New Issue
Block a user