Small refactoring

Use the dedicated function to check if we're running on Windows instead
of checking the platform directly.
This commit is contained in:
nop 2013-12-05 10:25:55 +01:00
parent d4829f1ef9
commit 9b8781322e

View File

@ -154,7 +154,7 @@ class CsharpCompleter( Completer ):
command = [ omnisharp, '-p', str( self._omnisharp_port ), '-s',
path_to_solutionfile ]
if not platform.startswith( 'win' ):
if utils.OnWindows():
command.insert(0, 'mono')
filename_format = os.path.join( utils.PathToTempDir(),