Clean up whitespace in launcher.ts
This commit is contained in:
Родитель
fbbf5a13ee
Коммит
a745a28fce
|
@ -175,7 +175,8 @@ export function launchOmniSharp(details: LaunchDetails): Promise<LaunchResult> {
|
|||
function launch(details: LaunchDetails): Promise<LaunchResult> {
|
||||
if (platform === Platform.Windows) {
|
||||
return launchWindows(details);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
return launchNix(details);
|
||||
}
|
||||
}
|
||||
|
@ -279,7 +280,8 @@ export function hasMono(range?: string): Promise<boolean> {
|
|||
let childprocess: ChildProcess;
|
||||
try {
|
||||
childprocess = spawn('mono', ['--version']);
|
||||
} catch (e) {
|
||||
}
|
||||
catch (e) {
|
||||
return resolve(false);
|
||||
}
|
||||
|
||||
|
@ -298,9 +300,11 @@ export function hasMono(range?: string): Promise<boolean> {
|
|||
|
||||
if (!match) {
|
||||
ret = false;
|
||||
} else if (!range) {
|
||||
}
|
||||
else if (!range) {
|
||||
ret = true;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
ret = satisfies(match[1], range);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче