forked from ddrilling/AsbCloudServer
nit ConvertToPdf code formatiing
This commit is contained in:
parent
d8cbec34eb
commit
31aa5e6ca2
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user