输出路径
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
e346bfc527
commit
3cb0ed4cd5
|
|
@ -778,9 +778,12 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
savePath = savePath + "/" + strArry[strArry.Length - 1];
|
savePath = savePath + "/" + strArry[strArry.Length - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Console.WriteLine($"savePath:{savePath}");
|
||||||
|
|
||||||
var directory = Path.GetDirectoryName(savePath);
|
var directory = Path.GetDirectoryName(savePath);
|
||||||
if (!string.IsNullOrEmpty(directory) && !Directory.Exists(directory))
|
if (!string.IsNullOrEmpty(directory) && !Directory.Exists(directory))
|
||||||
{
|
{
|
||||||
|
Console.WriteLine($"CreateDirectory:{directory}");
|
||||||
Directory.CreateDirectory(directory);
|
Directory.CreateDirectory(directory);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue