Browse Source

Project with executable services only should launch (#583)

jkotalik/fixAzureFunctions
John Luo 6 years ago
committed by GitHub
parent
commit
e53b59a8da
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      src/Microsoft.Tye.Hosting/ProcessRunner.cs

22
src/Microsoft.Tye.Hosting/ProcessRunner.cs

@ -144,19 +144,19 @@ namespace Microsoft.Tye.Hosting
_logger.LogInformation("Building projects failed with exit code {ExitCode}: \r\n" + buildResult.StandardOutput, buildResult.ExitCode); _logger.LogInformation("Building projects failed with exit code {ExitCode}: \r\n" + buildResult.StandardOutput, buildResult.ExitCode);
return; return;
} }
}
foreach (var s in application.Services) foreach (var s in application.Services)
{
switch (s.Value.ServiceType)
{ {
switch (s.Value.ServiceType) case ServiceType.Executable:
{ LaunchService(application, s.Value);
case ServiceType.Executable: break;
LaunchService(application, s.Value); case ServiceType.Project:
break; LaunchService(application, s.Value);
case ServiceType.Project: break;
LaunchService(application, s.Value); };
break;
};
}
} }
} }

Loading…
Cancel
Save