nit ConvertToPdf code formatiing

This commit is contained in:
ngfrolov 2023-01-30 17:06:22 +05:00
parent d8cbec34eb
commit 31aa5e6ca2
Signed by untrusted user who does not match committer: ng.frolov
GPG Key ID: E99907A0357B29A7

View File

@ -34,7 +34,7 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram.Convert
};
}
private static (string programFile, string programArg) getOptionsStartupProcess (string inputFileName, string resultFileDir)
private static (string programFile, string programArg) GetOptionsStartupProcess (string inputFileName, string resultFileDir)
{
(string programFile, string programArg) startupOptions;
if (OperatingSystem.IsWindows())
@ -55,9 +55,9 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram.Convert
private static async Task StartConvertProcessAsync(string inputFileName, string resultFileDir, CancellationToken token)
{
var startupOptions = getOptionsStartupProcess(inputFileName, resultFileDir);
var command = Cli.Wrap(startupOptions.programFile)
.WithArguments(startupOptions.programArg);
var (programFile, programArg) = GetOptionsStartupProcess(inputFileName, resultFileDir);
var command = Cli.Wrap(programFile)
.WithArguments(programArg);
await command.ExecuteAsync(token);
}