Skip to content

Commit

Permalink
Requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineatstariongroup committed Dec 6, 2024
1 parent bfb11ff commit 6316021
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions EA-ModelKit.Tests/EA-ModelKit.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<Reference Include="Interop.EA">
<HintPath>..\lib\Interop.EA.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationCore"/>
</ItemGroup>

<ItemGroup>
Expand All @@ -44,8 +44,8 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Resources\CacheService\TaggedValues.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
</Project>
3 changes: 2 additions & 1 deletion EA-ModelKit/Model/Export/ExportableElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

namespace EAModelKit.Model.Export
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
Expand Down Expand Up @@ -58,7 +59,7 @@ public ExportableElement(SlimElement element, IReadOnlyList<string> taggedValues
foreach (var taggedValueToExport in taggedValuesToExport)
{
this.ExportableValues[taggedValueToExport] = element.TaggedValues.TryGetValue(taggedValueToExport, out var existingValue)
? string.Join("\n", existingValue.Select(x => x.Value))
? string.Join(Environment.NewLine, existingValue.Select(x => x.Value))
: string.Empty;
}
}
Expand Down

0 comments on commit 6316021

Please sign in to comment.