Skip to content

Commit 6f4ca7a

Browse files
Path.GetFileName changed into FileSystem.Instance.Path.
Using core.apppackagecreator alpha4
1 parent b230556 commit 6f4ca7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sdk/Sdk.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<PackageReference Include="Skyline.DataMiner.CICD.Common" Version="1.0.5-alpha" PrivateAssets="all" />
4343
<PackageReference Include="Skyline.DataMiner.CICD.Parsers.Common" Version="1.0.13-foxtrot" PrivateAssets="all" />
4444
<PackageReference Include="Skyline.DataMiner.CICD.Assemblers.Automation" Version="1.0.16-alpha" PrivateAssets="all" />
45-
<PackageReference Include="Skyline.DataMiner.Core.AppPackageCreator" Version="2.0.0-alpha3" PrivateAssets="all" />
45+
<PackageReference Include="Skyline.DataMiner.Core.AppPackageCreator" Version="2.0.0-alpha4" PrivateAssets="all" />
4646
<PackageReference Include="System.Text.Json" Version="9.0.0" PrivateAssets="all" />
4747
</ItemGroup>
4848

Sdk/SubTasks/DmappCreation_AutomationScriptStyle.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private static string ConvertToInstallScript(PackageCreationData data, BuildResu
117117
foreach (var item in doc.Descendants(ns + "Param"))
118118
{
119119
// Remove the front part of the path as InstallScript won't look in the usual places
120-
item.Value = Path.GetFileName(item.Value);
120+
item.Value = FileSystem.Instance.Path.GetFileName(item.Value);
121121
}
122122

123123
FileSystem.Instance.File.WriteAllText(filePath, doc.ToString());

0 commit comments

Comments
 (0)